Properly inline getters; Simplify blocks when last statement returns

This commit is contained in:
dcodeIO
2018-06-22 15:26:59 +02:00
parent 525795b354
commit 7a8995b18b
75 changed files with 5090 additions and 6836 deletions

View File

@ -1,7 +1,7 @@
import "allocator/arena";
var sym1 = new Symbol("123");
var sym2 = new Symbol("123");
var sym1 = Symbol("123");
var sym2 = Symbol("123");
assert(sym1 !== sym2);
@ -21,3 +21,7 @@ var key4 = Symbol.keyFor(sym4);
assert(key3 == "123");
assert(key3 == key4);
Symbol.hasInstance;
Symbol.concatSpreadable;
// ...