view graal/com.oracle.truffle.sl.test/tests/Add.sl @ 15529:c5ce68561b75

Fix stamp of LoweredAtomicReadAndWriteNode to only inherit kind from written value.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 06 May 2014 04:07:30 +0200
parents b16ec83edc73
children
line wrap: on
line source

function main() {  
  println(3 + 4);  
  println(3 + "4");  
  println("3" + 4);  
  println("3" + "4");  
  println(3 + 4000000000000);  
  println(3000000000000 + 4);  
  println(3000000000000 + 4000000000000);  
}