2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
test function name: f
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = 1;
|
|
|
|
function f() { return a; }
|
|
|
|
f()
|
|
|
|
"
|
|
|
|
frame size: 0
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 5
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 21 E> */ B(StackCheck),
|
2017-07-17 11:22:25 +00:00
|
|
|
/* 26 S> */ B(LdaGlobal), U8(0), U8(3),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 35 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
function t() { }
|
|
|
|
function f() { return t; }
|
|
|
|
f()
|
|
|
|
"
|
|
|
|
frame size: 0
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 5
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 27 E> */ B(StackCheck),
|
2017-07-17 11:22:25 +00:00
|
|
|
/* 32 S> */ B(LdaGlobal), U8(0), U8(3),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 41 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["t"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
a = 1;
|
|
|
|
function f() { return a; }
|
|
|
|
f()
|
|
|
|
"
|
|
|
|
frame size: 0
|
|
|
|
parameter count: 1
|
2016-11-16 18:17:22 +00:00
|
|
|
bytecode array length: 5
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 17 E> */ B(StackCheck),
|
2017-07-17 11:22:25 +00:00
|
|
|
/* 22 S> */ B(LdaGlobal), U8(0), U8(3),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 31 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
a = 1;
|
|
|
|
function f(b) {
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
b.name;
|
|
|
|
return a;
|
|
|
|
}
|
|
|
|
f({name: 1});
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 0
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 2
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 524
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 17 E> */ B(StackCheck),
|
2017-07-17 19:02:35 +00:00
|
|
|
/* 27 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(3),
|
|
|
|
/* 37 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(5),
|
|
|
|
/* 47 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(7),
|
|
|
|
/* 57 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(9),
|
|
|
|
/* 67 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(11),
|
|
|
|
/* 77 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(13),
|
|
|
|
/* 87 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(15),
|
|
|
|
/* 97 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(17),
|
|
|
|
/* 107 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(19),
|
|
|
|
/* 117 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(21),
|
|
|
|
/* 127 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(23),
|
|
|
|
/* 137 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(25),
|
|
|
|
/* 147 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(27),
|
|
|
|
/* 157 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(29),
|
|
|
|
/* 167 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(31),
|
|
|
|
/* 177 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(33),
|
|
|
|
/* 187 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(35),
|
|
|
|
/* 197 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(37),
|
|
|
|
/* 207 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(39),
|
|
|
|
/* 217 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(41),
|
|
|
|
/* 227 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(43),
|
|
|
|
/* 237 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(45),
|
|
|
|
/* 247 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(47),
|
|
|
|
/* 257 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(49),
|
|
|
|
/* 267 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(51),
|
|
|
|
/* 277 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(53),
|
|
|
|
/* 287 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(55),
|
|
|
|
/* 297 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(57),
|
|
|
|
/* 307 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(59),
|
|
|
|
/* 317 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(61),
|
|
|
|
/* 327 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(63),
|
|
|
|
/* 337 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(65),
|
|
|
|
/* 347 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(67),
|
|
|
|
/* 357 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(69),
|
|
|
|
/* 367 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(71),
|
|
|
|
/* 377 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(73),
|
|
|
|
/* 387 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(75),
|
|
|
|
/* 397 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(77),
|
|
|
|
/* 407 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(79),
|
|
|
|
/* 417 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(81),
|
|
|
|
/* 427 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(83),
|
|
|
|
/* 437 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(85),
|
|
|
|
/* 447 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(87),
|
|
|
|
/* 457 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(89),
|
|
|
|
/* 467 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(91),
|
|
|
|
/* 477 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(93),
|
|
|
|
/* 487 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(95),
|
|
|
|
/* 497 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(97),
|
|
|
|
/* 507 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(99),
|
|
|
|
/* 517 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(101),
|
|
|
|
/* 527 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(103),
|
|
|
|
/* 537 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(105),
|
|
|
|
/* 547 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(107),
|
|
|
|
/* 557 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(109),
|
|
|
|
/* 567 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(111),
|
|
|
|
/* 577 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(113),
|
|
|
|
/* 587 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(115),
|
|
|
|
/* 597 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(117),
|
|
|
|
/* 607 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(119),
|
|
|
|
/* 617 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(121),
|
|
|
|
/* 627 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(123),
|
|
|
|
/* 637 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(125),
|
|
|
|
/* 647 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(127),
|
|
|
|
/* 657 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(129),
|
|
|
|
/* 667 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(131),
|
|
|
|
/* 677 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(133),
|
|
|
|
/* 687 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(135),
|
|
|
|
/* 697 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(137),
|
|
|
|
/* 707 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(139),
|
|
|
|
/* 717 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(141),
|
|
|
|
/* 727 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(143),
|
|
|
|
/* 737 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(145),
|
|
|
|
/* 747 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(147),
|
|
|
|
/* 757 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(149),
|
|
|
|
/* 767 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(151),
|
|
|
|
/* 777 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(153),
|
|
|
|
/* 787 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(155),
|
|
|
|
/* 797 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(157),
|
|
|
|
/* 807 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(159),
|
|
|
|
/* 817 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(161),
|
|
|
|
/* 827 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(163),
|
|
|
|
/* 837 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(165),
|
|
|
|
/* 847 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(167),
|
|
|
|
/* 857 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(169),
|
|
|
|
/* 867 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(171),
|
|
|
|
/* 877 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(173),
|
|
|
|
/* 887 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(175),
|
|
|
|
/* 897 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(177),
|
|
|
|
/* 907 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(179),
|
|
|
|
/* 917 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(181),
|
|
|
|
/* 927 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(183),
|
|
|
|
/* 937 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(185),
|
|
|
|
/* 947 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(187),
|
|
|
|
/* 957 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(189),
|
|
|
|
/* 967 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(191),
|
|
|
|
/* 977 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(193),
|
|
|
|
/* 987 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(195),
|
|
|
|
/* 997 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(197),
|
|
|
|
/* 1007 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(199),
|
|
|
|
/* 1017 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(201),
|
|
|
|
/* 1027 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(203),
|
|
|
|
/* 1037 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(205),
|
|
|
|
/* 1047 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(207),
|
|
|
|
/* 1057 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(209),
|
|
|
|
/* 1067 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(211),
|
|
|
|
/* 1077 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(213),
|
|
|
|
/* 1087 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(215),
|
|
|
|
/* 1097 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(217),
|
|
|
|
/* 1107 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(219),
|
|
|
|
/* 1117 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(221),
|
|
|
|
/* 1127 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(223),
|
|
|
|
/* 1137 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(225),
|
|
|
|
/* 1147 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(227),
|
|
|
|
/* 1157 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(229),
|
|
|
|
/* 1167 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(231),
|
|
|
|
/* 1177 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(233),
|
|
|
|
/* 1187 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(235),
|
|
|
|
/* 1197 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(237),
|
|
|
|
/* 1207 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(239),
|
|
|
|
/* 1217 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(241),
|
|
|
|
/* 1227 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(243),
|
|
|
|
/* 1237 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(245),
|
|
|
|
/* 1247 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(247),
|
|
|
|
/* 1257 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(249),
|
|
|
|
/* 1267 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(251),
|
|
|
|
/* 1277 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(253),
|
|
|
|
/* 1287 S> */ B(LdaNamedProperty), R(arg0), U8(0), U8(255),
|
|
|
|
/* 1297 S> */ B(Wide), B(LdaNamedProperty), R16(arg0), U16(0), U16(257),
|
2017-07-17 11:22:25 +00:00
|
|
|
/* 1305 S> */ B(Wide), B(LdaGlobal), U16(1), U16(259),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 1314 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
|
2016-11-16 18:17:22 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|