OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 class A { constructor(...args) { this.args = args; } } | 10 class A { constructor(...args) { this.args = args; } } |
11 new A(...[1, 2, 3]); | 11 new A(...[1, 2, 3]); |
12 " | 12 " |
13 frame size: 8 | 13 frame size: 8 |
14 parameter count: 1 | 14 parameter count: 1 |
15 bytecode array length: 64 | 15 bytecode array length: 64 |
16 bytecodes: [ | 16 bytecodes: [ |
17 B(LdaTheHole), | 17 B(LdaTheHole), |
18 B(Star), R(2), | 18 B(Star), R(2), |
19 /* 30 E> */ B(StackCheck), | 19 /* 30 E> */ B(StackCheck), |
20 B(LdaTheHole), | 20 B(LdaTheHole), |
21 B(Star), R(0), | 21 B(Star), R(0), |
22 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), | 22 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
23 B(Star), R(3), | 23 B(Star), R(3), |
24 B(LdaTheHole), | 24 B(LdaTheHole), |
25 B(Star), R(4), | 25 B(Star), R(4), |
26 B(LdaSmi), U8(34), | 26 B(LdaSmi), I8(34), |
27 B(Star), R(6), | 27 B(Star), R(6), |
28 B(LdaSmi), U8(88), | 28 B(LdaSmi), I8(88), |
29 B(Star), R(7), | 29 B(Star), R(7), |
30 B(Mov), R(3), R(5), | 30 B(Mov), R(3), R(5), |
31 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), | 31 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
32 B(Star), R(4), | 32 B(Star), R(4), |
33 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), | 33 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), |
34 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), | 34 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
35 B(Star), R(0), | 35 B(Star), R(0), |
36 B(Star), R(1), | 36 B(Star), R(1), |
37 B(Star), R(2), | 37 B(Star), R(2), |
38 /* 89 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9), | 38 /* 89 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9), |
(...skipping 21 matching lines...) Expand all Loading... |
60 bytecodes: [ | 60 bytecodes: [ |
61 B(LdaTheHole), | 61 B(LdaTheHole), |
62 B(Star), R(2), | 62 B(Star), R(2), |
63 /* 30 E> */ B(StackCheck), | 63 /* 30 E> */ B(StackCheck), |
64 B(LdaTheHole), | 64 B(LdaTheHole), |
65 B(Star), R(0), | 65 B(Star), R(0), |
66 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), | 66 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
67 B(Star), R(3), | 67 B(Star), R(3), |
68 B(LdaTheHole), | 68 B(LdaTheHole), |
69 B(Star), R(4), | 69 B(Star), R(4), |
70 B(LdaSmi), U8(34), | 70 B(LdaSmi), I8(34), |
71 B(Star), R(6), | 71 B(Star), R(6), |
72 B(LdaSmi), U8(88), | 72 B(LdaSmi), I8(88), |
73 B(Star), R(7), | 73 B(Star), R(7), |
74 B(Mov), R(3), R(5), | 74 B(Mov), R(3), R(5), |
75 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), | 75 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
76 B(Star), R(4), | 76 B(Star), R(4), |
77 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), | 77 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), |
78 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), | 78 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
79 B(Star), R(0), | 79 B(Star), R(0), |
80 B(Star), R(1), | 80 B(Star), R(1), |
81 B(Star), R(2), | 81 B(Star), R(2), |
82 /* 89 S> */ B(LdaZero), | 82 /* 89 S> */ B(LdaZero), |
(...skipping 23 matching lines...) Expand all Loading... |
106 bytecodes: [ | 106 bytecodes: [ |
107 B(LdaTheHole), | 107 B(LdaTheHole), |
108 B(Star), R(2), | 108 B(Star), R(2), |
109 /* 30 E> */ B(StackCheck), | 109 /* 30 E> */ B(StackCheck), |
110 B(LdaTheHole), | 110 B(LdaTheHole), |
111 B(Star), R(0), | 111 B(Star), R(0), |
112 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), | 112 /* 34 S> */ B(CreateClosure), U8(0), U8(2), U8(2), |
113 B(Star), R(3), | 113 B(Star), R(3), |
114 B(LdaTheHole), | 114 B(LdaTheHole), |
115 B(Star), R(4), | 115 B(Star), R(4), |
116 B(LdaSmi), U8(34), | 116 B(LdaSmi), I8(34), |
117 B(Star), R(6), | 117 B(Star), R(6), |
118 B(LdaSmi), U8(88), | 118 B(LdaSmi), I8(88), |
119 B(Star), R(7), | 119 B(Star), R(7), |
120 B(Mov), R(3), R(5), | 120 B(Mov), R(3), R(5), |
121 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), | 121 B(CallRuntime), U16(Runtime::kDefineClass), R(4), U8(4), |
122 B(Star), R(4), | 122 B(Star), R(4), |
123 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), | 123 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(3), U
8(1), |
124 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), | 124 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), |
125 B(Star), R(0), | 125 B(Star), R(0), |
126 B(Star), R(1), | 126 B(Star), R(1), |
127 B(Star), R(2), | 127 B(Star), R(2), |
128 /* 89 S> */ B(LdaUndefined), | 128 /* 89 S> */ B(LdaUndefined), |
(...skipping 19 matching lines...) Expand all Loading... |
148 ] | 148 ] |
149 constant pool: [ | 149 constant pool: [ |
150 SHARED_FUNCTION_INFO_TYPE, | 150 SHARED_FUNCTION_INFO_TYPE, |
151 CONSTANT_ELEMENTS_PAIR_TYPE, | 151 CONSTANT_ELEMENTS_PAIR_TYPE, |
152 CONSTANT_ELEMENTS_PAIR_TYPE, | 152 CONSTANT_ELEMENTS_PAIR_TYPE, |
153 CONSTANT_ELEMENTS_PAIR_TYPE, | 153 CONSTANT_ELEMENTS_PAIR_TYPE, |
154 ] | 154 ] |
155 handlers: [ | 155 handlers: [ |
156 ] | 156 ] |
157 | 157 |
OLD | NEW |