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 | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 try { return 1; } catch(e) { return 2; } | 11 try { return 1; } catch(e) { return 2; } |
13 " | 12 " |
14 frame size: 3 | 13 frame size: 3 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 35 | 15 bytecode array length: 35 |
(...skipping 10 matching lines...) Expand all Loading... |
27 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 26 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
28 B(Ldar), R(1), | 27 B(Ldar), R(1), |
29 B(PushContext), R(0), | 28 B(PushContext), R(0), |
30 /* 63 S> */ B(LdaSmi), U8(2), | 29 /* 63 S> */ B(LdaSmi), U8(2), |
31 B(PopContext), R(0), | 30 B(PopContext), R(0), |
32 /* 75 S> */ B(Return), | 31 /* 75 S> */ B(Return), |
33 B(LdaUndefined), | 32 B(LdaUndefined), |
34 /* 75 S> */ B(Return), | 33 /* 75 S> */ B(Return), |
35 ] | 34 ] |
36 constant pool: [ | 35 constant pool: [ |
37 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 36 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e"], |
38 InstanceType::FIXED_ARRAY_TYPE, | 37 FIXED_ARRAY_TYPE, |
39 ] | 38 ] |
40 handlers: [ | 39 handlers: [ |
41 [4, 7, 9], | 40 [4, 7, 9], |
42 ] | 41 ] |
43 | 42 |
44 --- | 43 --- |
45 snippet: " | 44 snippet: " |
46 var a; | 45 var a; |
47 try { a = 1 } catch(e1) {}; | 46 try { a = 1 } catch(e1) {}; |
48 try { a = 2 } catch(e2) { a = 3 } | 47 try { a = 2 } catch(e2) { a = 3 } |
(...skipping 26 matching lines...) Expand all Loading... |
75 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 74 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
76 B(Ldar), R(2), | 75 B(Ldar), R(2), |
77 B(PushContext), R(1), | 76 B(PushContext), R(1), |
78 /* 95 S> */ B(LdaSmi), U8(3), | 77 /* 95 S> */ B(LdaSmi), U8(3), |
79 B(Star), R(0), | 78 B(Star), R(0), |
80 B(PopContext), R(1), | 79 B(PopContext), R(1), |
81 B(LdaUndefined), | 80 B(LdaUndefined), |
82 /* 103 S> */ B(Return), | 81 /* 103 S> */ B(Return), |
83 ] | 82 ] |
84 constant pool: [ | 83 constant pool: [ |
85 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 84 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e1"], |
86 InstanceType::FIXED_ARRAY_TYPE, | 85 FIXED_ARRAY_TYPE, |
87 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 86 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e2"], |
88 InstanceType::FIXED_ARRAY_TYPE, | 87 FIXED_ARRAY_TYPE, |
89 ] | 88 ] |
90 handlers: [ | 89 handlers: [ |
91 [4, 8, 10], | 90 [4, 8, 10], |
92 [34, 38, 40], | 91 [34, 38, 40], |
93 ] | 92 ] |
94 | 93 |
OLD | NEW |