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: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 ] | 96 ] |
97 handlers: [ | 97 handlers: [ |
98 ] | 98 ] |
99 | 99 |
100 --- | 100 --- |
101 snippet: " | 101 snippet: " |
102 'use strict'; | 102 'use strict'; |
103 let a = 1; | 103 let a = 1; |
104 { let b = 2; return function() { a + b; }; } | 104 { let b = 2; return function() { a + b; }; } |
105 " | 105 " |
106 frame size: 4 | 106 frame size: 2 |
107 parameter count: 1 | 107 parameter count: 1 |
108 bytecode array length: 43 | 108 bytecode array length: 35 |
109 bytecodes: [ | 109 bytecodes: [ |
110 B(CreateFunctionContext), U8(1), | 110 B(CreateFunctionContext), U8(1), |
111 B(PushContext), R(0), | 111 B(PushContext), R(0), |
112 B(LdaTheHole), | 112 B(LdaTheHole), |
113 B(StaContextSlot), R(context), U8(4), | 113 B(StaContextSlot), R(context), U8(4), |
114 /* 30 E> */ B(StackCheck), | 114 /* 30 E> */ B(StackCheck), |
115 /* 56 S> */ B(LdaSmi), U8(1), | 115 /* 56 S> */ B(LdaSmi), U8(1), |
116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), | 116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), |
117 B(LdaConstant), U8(0), | 117 B(Ldar), R(closure), |
118 B(Star), R(2), | 118 B(CreateBlockContext), U8(0), |
119 B(Mov), R(closure), R(3), | |
120 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), | |
121 B(PushContext), R(1), | 119 B(PushContext), R(1), |
122 B(LdaTheHole), | 120 B(LdaTheHole), |
123 B(StaContextSlot), R(context), U8(4), | 121 B(StaContextSlot), R(context), U8(4), |
124 /* 69 S> */ B(LdaSmi), U8(2), | 122 /* 69 S> */ B(LdaSmi), U8(2), |
125 /* 69 E> */ B(StaContextSlot), R(context), U8(4), | 123 /* 69 E> */ B(StaContextSlot), R(context), U8(4), |
126 /* 72 S> */ B(CreateClosure), U8(1), U8(2), | 124 /* 72 S> */ B(CreateClosure), U8(1), U8(2), |
127 B(PopContext), R(0), | 125 B(PopContext), R(0), |
128 /* 104 S> */ B(Return), | 126 /* 104 S> */ B(Return), |
129 ] | 127 ] |
130 constant pool: [ | 128 constant pool: [ |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 /* 3440 S> */ B(LdaSmi), U8(100), | 905 /* 3440 S> */ B(LdaSmi), U8(100), |
908 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), | 906 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), |
909 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), | 907 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), |
910 /* 3454 S> */ B(Return), | 908 /* 3454 S> */ B(Return), |
911 ] | 909 ] |
912 constant pool: [ | 910 constant pool: [ |
913 ] | 911 ] |
914 handlers: [ | 912 handlers: [ |
915 ] | 913 ] |
916 | 914 |
OLD | NEW |