Index: test/cctest/interpreter/bytecode_expectations/PropertyCall.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden b/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d4e093ff008157a3b9fb280f76e89fd443b3ace2 |
--- /dev/null |
+++ b/test/cctest/interpreter/bytecode_expectations/PropertyCall.golden |
@@ -0,0 +1,626 @@ |
+# |
+# Autogenerated by generate-bytecode-expectations |
+# |
+ |
+--- |
+pool type: string |
+execute: yes |
+wrap: no |
+test function name: f |
+ |
+--- |
+snippet: " |
+ function f(a) { return a.func(); } |
+ f(new (function Obj() { this.func = function() { return; }})()) |
+" |
+frame size: 2 |
+parameter count: 2 |
+bytecode array length: 17 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(Ldar), R(arg0), |
+ B(Star), R(1), |
+ B(LoadIC), R(1), U8(0), U8(3), |
+ B(Star), R(0), |
+ B(Call), R(0), R(1), U8(1), U8(1), |
+ B(Return), |
+] |
+constant pool: [ |
+ "func", |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ function f(a, b, c) { return a.func(b, c); } |
+ f(new (function Obj() { this.func = function() { return; }})(), 1, 2) |
+" |
+frame size: 4 |
+parameter count: 4 |
+bytecode array length: 25 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(Ldar), R(arg0), |
+ B(Star), R(1), |
+ B(LoadIC), R(1), U8(0), U8(3), |
+ B(Star), R(0), |
+ B(Ldar), R(arg1), |
+ B(Star), R(2), |
+ B(Ldar), R(arg2), |
+ B(Star), R(3), |
+ B(Call), R(0), R(1), U8(3), U8(1), |
+ B(Return), |
+] |
+constant pool: [ |
+ "func", |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ function f(a, b) { return a.func(b + b, b); } |
+ f(new (function Obj() { this.func = function() { return; }})(), 1) |
+" |
+frame size: 4 |
+parameter count: 3 |
+bytecode array length: 31 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(Ldar), R(arg0), |
+ B(Star), R(1), |
+ B(LoadIC), R(1), U8(0), U8(3), |
+ B(Star), R(0), |
+ B(Ldar), R(arg1), |
+ B(Star), R(3), |
+ B(Ldar), R(arg1), |
+ B(Add), R(3), |
+ B(Star), R(2), |
+ B(Ldar), R(arg1), |
+ B(Star), R(3), |
+ B(Call), R(0), R(1), U8(3), U8(1), |
+ B(Return), |
+] |
+constant pool: [ |
+ "func", |
+] |
+handlers: [ |
+] |
+ |
+--- |
+snippet: " |
+ function f(a) { |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ a.func; |
+ return a.func(); } |
+ f(new (function Obj() { this.func = function() { return; }})()) |
+" |
+frame size: 2 |
+parameter count: 2 |
+bytecode array length: 1047 |
+bytecodes: [ |
+ B(StackCheck), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(1), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(3), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(5), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(7), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(9), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(11), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(13), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(15), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(17), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(19), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(21), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(23), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(25), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(27), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(29), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(31), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(33), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(35), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(37), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(39), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(41), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(43), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(45), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(47), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(49), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(51), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(53), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(55), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(57), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(59), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(61), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(63), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(65), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(67), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(69), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(71), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(73), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(75), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(77), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(79), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(81), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(83), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(85), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(87), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(89), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(91), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(93), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(95), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(97), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(99), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(101), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(103), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(105), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(107), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(109), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(111), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(113), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(115), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(117), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(119), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(121), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(123), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(125), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(127), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(129), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(131), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(133), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(135), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(137), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(139), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(141), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(143), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(145), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(147), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(149), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(151), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(153), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(155), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(157), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(159), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(161), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(163), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(165), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(167), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(169), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(171), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(173), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(175), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(177), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(179), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(181), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(183), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(185), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(187), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(189), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(191), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(193), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(195), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(197), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(199), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(201), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(203), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(205), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(207), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(209), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(211), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(213), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(215), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(217), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(219), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(221), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(223), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(225), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(227), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(229), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(231), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(233), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(235), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(237), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(239), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(241), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(243), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(245), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(247), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(249), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(251), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(253), |
+ B(Ldar), R(arg0), |
+ B(Star), R(0), |
+ B(LoadIC), R(0), U8(0), U8(255), |
+ B(Ldar), R(arg0), |
+ B(Star), R(1), |
+ B(LoadICWide), R(1), U16(0), U16(259), |
+ B(Star), R(0), |
+ B(CallWide), R16(0), R16(1), U16(1), U16(257), |
+ B(Return), |
+] |
+constant pool: [ |
+ "func", |
+] |
+handlers: [ |
+] |
+ |