OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: number | 6 pool type: number |
7 execute: yes | 7 execute: yes |
8 wrap: no | 8 wrap: no |
9 test function name: f | 9 test function name: f |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 B(CreateRestParameter), | 64 B(CreateRestParameter), |
65 B(Star), R(0), | 65 B(Star), R(0), |
66 B(LdaTheHole), | 66 B(LdaTheHole), |
67 B(Star), R(1), | 67 B(Star), R(1), |
68 /* 10 E> */ B(StackCheck), | 68 /* 10 E> */ B(StackCheck), |
69 B(Ldar), R(arg0), | 69 B(Ldar), R(arg0), |
70 B(Star), R(1), | 70 B(Star), R(1), |
71 /* 29 S> */ B(Ldar), R(0), | 71 /* 29 S> */ B(Ldar), R(0), |
72 B(Star), R(2), | 72 B(Star), R(2), |
73 /* 44 E> */ B(LdaZero), | 73 /* 44 E> */ B(LdaZero), |
74 B(KeyedLoadIC), R(2), U8(1), | 74 B(LdaKeyedProperty), R(2), U8(1), |
75 /* 49 S> */ B(Return), | 75 /* 49 S> */ B(Return), |
76 ] | 76 ] |
77 constant pool: [ | 77 constant pool: [ |
78 ] | 78 ] |
79 handlers: [ | 79 handlers: [ |
80 ] | 80 ] |
81 | 81 |
82 --- | 82 --- |
83 snippet: " | 83 snippet: " |
84 function f(a, ...restArgs) { return restArgs[0] + arguments[0]; } | 84 function f(a, ...restArgs) { return restArgs[0] + arguments[0]; } |
85 f(); | 85 f(); |
86 " | 86 " |
87 frame size: 5 | 87 frame size: 5 |
88 parameter count: 2 | 88 parameter count: 2 |
89 bytecode array length: 35 | 89 bytecode array length: 34 |
90 bytecodes: [ | 90 bytecodes: [ |
91 B(CreateUnmappedArguments), | 91 B(CreateUnmappedArguments), |
92 B(Star), R(0), | 92 B(Star), R(0), |
93 B(CreateRestParameter), | 93 B(CreateRestParameter), |
94 B(Star), R(1), | 94 B(Star), R(1), |
95 B(LdaTheHole), | 95 B(LdaTheHole), |
96 B(Star), R(2), | 96 B(Star), R(2), |
97 /* 10 E> */ B(StackCheck), | 97 /* 10 E> */ B(StackCheck), |
98 B(Ldar), R(arg0), | 98 B(Ldar), R(arg0), |
99 B(Star), R(2), | 99 B(Star), R(2), |
100 /* 29 S> */ B(Ldar), R(1), | 100 /* 29 S> */ B(Ldar), R(1), |
101 B(Star), R(3), | 101 B(Star), R(3), |
102 /* 44 E> */ B(LdaZero), | 102 /* 44 E> */ B(LdaZero), |
103 B(KeyedLoadIC), R(3), U8(1), | 103 B(LdrKeyedProperty), R(3), U8(1), R(4), |
104 B(Star), R(4), | |
105 /* 50 E> */ B(Ldar), R(0), | 104 /* 50 E> */ B(Ldar), R(0), |
106 B(Star), R(3), | 105 B(Star), R(3), |
107 /* 59 E> */ B(LdaZero), | 106 /* 59 E> */ B(LdaZero), |
108 B(KeyedLoadIC), R(3), U8(3), | 107 B(LdaKeyedProperty), R(3), U8(3), |
109 B(Add), R(4), | 108 B(Add), R(4), |
110 /* 64 S> */ B(Return), | 109 /* 64 S> */ B(Return), |
111 ] | 110 ] |
112 constant pool: [ | 111 constant pool: [ |
113 ] | 112 ] |
114 handlers: [ | 113 handlers: [ |
115 ] | 114 ] |
116 | 115 |
OLD | NEW |