| 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: string | 6 pool type: mixed |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: yes | 8 wrap: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| 11 snippet: " | 11 snippet: " |
| 12 var a = 1; | 12 var a = 1; |
| 13 try { a = 2; } finally { a = 3; } | 13 try { a = 2; } finally { a = 3; } |
| 14 " | 14 " |
| 15 frame size: 4 | 15 frame size: 4 |
| 16 parameter count: 1 | 16 parameter count: 1 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 [8, 12, 18], | 48 [8, 12, 18], |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 --- | 51 --- |
| 52 snippet: " | 52 snippet: " |
| 53 var a = 1; | 53 var a = 1; |
| 54 try { a = 2; } catch(e) { a = 20 } finally { a = 3; } | 54 try { a = 2; } catch(e) { a = 20 } finally { a = 3; } |
| 55 " | 55 " |
| 56 frame size: 7 | 56 frame size: 7 |
| 57 parameter count: 1 | 57 parameter count: 1 |
| 58 bytecode array length: 81 | 58 bytecode array length: 82 |
| 59 bytecodes: [ | 59 bytecodes: [ |
| 60 /* 30 E> */ B(StackCheck), | 60 /* 30 E> */ B(StackCheck), |
| 61 /* 42 S> */ B(LdaSmi), U8(1), | 61 /* 42 S> */ B(LdaSmi), U8(1), |
| 62 B(Star), R(0), | 62 B(Star), R(0), |
| 63 B(Mov), R(context), R(4), | 63 B(Mov), R(context), R(4), |
| 64 B(Mov), R(context), R(5), | 64 B(Mov), R(context), R(5), |
| 65 /* 51 S> */ B(LdaSmi), U8(2), | 65 /* 51 S> */ B(LdaSmi), U8(2), |
| 66 B(Star), R(0), | 66 B(Star), R(0), |
| 67 B(Jump), U8(26), | 67 B(Jump), U8(27), |
| 68 B(Star), R(6), | 68 B(Star), R(6), |
| 69 B(Ldar), R(closure), | 69 B(Ldar), R(closure), |
| 70 /* 53 E> */ B(CreateCatchContext), R(6), U8(0), | 70 /* 53 E> */ B(CreateCatchContext), R(6), U8(0), U8(1), |
| 71 B(Star), R(5), | 71 B(Star), R(5), |
| 72 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 72 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 73 B(Ldar), R(5), | 73 B(Ldar), R(5), |
| 74 B(PushContext), R(1), | 74 B(PushContext), R(1), |
| 75 /* 71 S> */ B(LdaSmi), U8(20), | 75 /* 71 S> */ B(LdaSmi), U8(20), |
| 76 B(Star), R(0), | 76 B(Star), R(0), |
| 77 B(PopContext), R(1), | 77 B(PopContext), R(1), |
| 78 B(LdaSmi), U8(-1), | 78 B(LdaSmi), U8(-1), |
| 79 B(Star), R(2), | 79 B(Star), R(2), |
| 80 B(Jump), U8(7), | 80 B(Jump), U8(7), |
| 81 B(Star), R(3), | 81 B(Star), R(3), |
| 82 B(LdaZero), | 82 B(LdaZero), |
| 83 B(Star), R(2), | 83 B(Star), R(2), |
| 84 /* 73 E> */ B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 84 /* 73 E> */ B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 85 B(Star), R(4), | 85 B(Star), R(4), |
| 86 /* 90 S> */ B(LdaSmi), U8(3), | 86 /* 90 S> */ B(LdaSmi), U8(3), |
| 87 B(Star), R(0), | 87 B(Star), R(0), |
| 88 /* 92 E> */ B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), | 88 /* 92 E> */ B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), |
| 89 B(LdaZero), | 89 B(LdaZero), |
| 90 B(TestEqualStrict), R(2), U8(0), | 90 B(TestEqualStrict), R(2), U8(0), |
| 91 B(JumpIfTrue), U8(4), | 91 B(JumpIfTrue), U8(4), |
| 92 B(Jump), U8(5), | 92 B(Jump), U8(5), |
| 93 B(Ldar), R(3), | 93 B(Ldar), R(3), |
| 94 B(ReThrow), | 94 B(ReThrow), |
| 95 B(LdaUndefined), | 95 B(LdaUndefined), |
| 96 /* 99 S> */ B(Return), | 96 /* 99 S> */ B(Return), |
| 97 ] | 97 ] |
| 98 constant pool: [ | 98 constant pool: [ |
| 99 "e", | 99 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 100 InstanceType::FIXED_ARRAY_TYPE, |
| 100 ] | 101 ] |
| 101 handlers: [ | 102 handlers: [ |
| 102 [8, 41, 47], | 103 [8, 42, 48], |
| 103 [11, 15, 17], | 104 [11, 15, 17], |
| 104 ] | 105 ] |
| 105 | 106 |
| 106 --- | 107 --- |
| 107 snippet: " | 108 snippet: " |
| 108 var a; try { | 109 var a; try { |
| 109 try { a = 1 } catch(e) { a = 2 } | 110 try { a = 1 } catch(e) { a = 2 } |
| 110 } catch(e) { a = 20 } finally { a = 3; } | 111 } catch(e) { a = 20 } finally { a = 3; } |
| 111 " | 112 " |
| 112 frame size: 8 | 113 frame size: 8 |
| 113 parameter count: 1 | 114 parameter count: 1 |
| 114 bytecode array length: 106 | 115 bytecode array length: 108 |
| 115 bytecodes: [ | 116 bytecodes: [ |
| 116 /* 30 E> */ B(StackCheck), | 117 /* 30 E> */ B(StackCheck), |
| 117 B(Mov), R(context), R(4), | 118 B(Mov), R(context), R(4), |
| 118 B(Mov), R(context), R(5), | 119 B(Mov), R(context), R(5), |
| 119 B(Mov), R(context), R(6), | 120 B(Mov), R(context), R(6), |
| 120 /* 55 S> */ B(LdaSmi), U8(1), | 121 /* 55 S> */ B(LdaSmi), U8(1), |
| 121 B(Star), R(0), | 122 B(Star), R(0), |
| 122 B(Jump), U8(26), | 123 B(Jump), U8(27), |
| 123 B(Star), R(7), | 124 B(Star), R(7), |
| 124 B(Ldar), R(closure), | 125 B(Ldar), R(closure), |
| 125 /* 57 E> */ B(CreateCatchContext), R(7), U8(0), | 126 /* 57 E> */ B(CreateCatchContext), R(7), U8(0), U8(1), |
| 126 B(Star), R(6), | 127 B(Star), R(6), |
| 127 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 128 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 128 B(Ldar), R(6), | 129 B(Ldar), R(6), |
| 129 B(PushContext), R(1), | 130 B(PushContext), R(1), |
| 130 /* 74 S> */ B(LdaSmi), U8(2), | 131 /* 74 S> */ B(LdaSmi), U8(2), |
| 131 B(Star), R(0), | 132 B(Star), R(0), |
| 132 B(PopContext), R(1), | 133 B(PopContext), R(1), |
| 133 B(Jump), U8(26), | 134 B(Jump), U8(27), |
| 134 B(Star), R(6), | 135 B(Star), R(6), |
| 135 B(Ldar), R(closure), | 136 B(Ldar), R(closure), |
| 136 /* 76 E> */ B(CreateCatchContext), R(6), U8(0), | 137 /* 76 E> */ B(CreateCatchContext), R(6), U8(0), U8(2), |
| 137 B(Star), R(5), | 138 B(Star), R(5), |
| 138 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 139 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 139 B(Ldar), R(5), | 140 B(Ldar), R(5), |
| 140 B(PushContext), R(1), | 141 B(PushContext), R(1), |
| 141 /* 95 S> */ B(LdaSmi), U8(20), | 142 /* 95 S> */ B(LdaSmi), U8(20), |
| 142 B(Star), R(0), | 143 B(Star), R(0), |
| 143 B(PopContext), R(1), | 144 B(PopContext), R(1), |
| 144 B(LdaSmi), U8(-1), | 145 B(LdaSmi), U8(-1), |
| 145 B(Star), R(2), | 146 B(Star), R(2), |
| 146 B(Jump), U8(7), | 147 B(Jump), U8(7), |
| 147 B(Star), R(3), | 148 B(Star), R(3), |
| 148 B(LdaZero), | 149 B(LdaZero), |
| 149 B(Star), R(2), | 150 B(Star), R(2), |
| 150 /* 97 E> */ B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 151 /* 97 E> */ B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 151 B(Star), R(4), | 152 B(Star), R(4), |
| 152 /* 114 S> */ B(LdaSmi), U8(3), | 153 /* 114 S> */ B(LdaSmi), U8(3), |
| 153 B(Star), R(0), | 154 B(Star), R(0), |
| 154 /* 116 E> */ B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), | 155 /* 116 E> */ B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4
), U8(1), |
| 155 B(LdaZero), | 156 B(LdaZero), |
| 156 B(TestEqualStrict), R(2), U8(0), | 157 B(TestEqualStrict), R(2), U8(0), |
| 157 B(JumpIfTrue), U8(4), | 158 B(JumpIfTrue), U8(4), |
| 158 B(Jump), U8(5), | 159 B(Jump), U8(5), |
| 159 B(Ldar), R(3), | 160 B(Ldar), R(3), |
| 160 B(ReThrow), | 161 B(ReThrow), |
| 161 B(LdaUndefined), | 162 B(LdaUndefined), |
| 162 /* 123 S> */ B(Return), | 163 /* 123 S> */ B(Return), |
| 163 ] | 164 ] |
| 164 constant pool: [ | 165 constant pool: [ |
| 165 "e", | 166 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 167 InstanceType::FIXED_ARRAY_TYPE, |
| 168 InstanceType::FIXED_ARRAY_TYPE, |
| 166 ] | 169 ] |
| 167 handlers: [ | 170 handlers: [ |
| 168 [4, 66, 72], | 171 [4, 68, 74], |
| 169 [7, 40, 42], | 172 [7, 41, 43], |
| 170 [10, 14, 16], | 173 [10, 14, 16], |
| 171 ] | 174 ] |
| 172 | 175 |
| OLD | NEW |