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 | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 return /ab+d/; | 11 return /ab+d/; |
13 " | 12 " |
14 frame size: 0 | 13 frame size: 0 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 6 | 15 bytecode array length: 6 |
17 bytecodes: [ | 16 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 17 /* 30 E> */ B(StackCheck), |
19 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0), | 18 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0), |
20 /* 49 S> */ B(Return), | 19 /* 49 S> */ B(Return), |
21 ] | 20 ] |
22 constant pool: [ | 21 constant pool: [ |
23 "ab+d", | 22 ONE_BYTE_INTERNALIZED_STRING_TYPE ["ab+d"], |
24 ] | 23 ] |
25 handlers: [ | 24 handlers: [ |
26 ] | 25 ] |
27 | 26 |
28 --- | 27 --- |
29 snippet: " | 28 snippet: " |
30 return /(\\w+)\\s(\\w+)/i; | 29 return /(\\w+)\\s(\\w+)/i; |
31 " | 30 " |
32 frame size: 0 | 31 frame size: 0 |
33 parameter count: 1 | 32 parameter count: 1 |
34 bytecode array length: 6 | 33 bytecode array length: 6 |
35 bytecodes: [ | 34 bytecodes: [ |
36 /* 30 E> */ B(StackCheck), | 35 /* 30 E> */ B(StackCheck), |
37 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(2), | 36 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(2), |
38 /* 58 S> */ B(Return), | 37 /* 58 S> */ B(Return), |
39 ] | 38 ] |
40 constant pool: [ | 39 constant pool: [ |
41 "(\u005cw+)\u005cs(\u005cw+)", | 40 ONE_BYTE_INTERNALIZED_STRING_TYPE ["(\u005cw+)\u005cs(\u005cw+)"], |
42 ] | 41 ] |
43 handlers: [ | 42 handlers: [ |
44 ] | 43 ] |
45 | 44 |
46 --- | 45 --- |
47 snippet: " | 46 snippet: " |
48 return /ab+d/.exec('abdd'); | 47 return /ab+d/.exec('abdd'); |
49 " | 48 " |
50 frame size: 3 | 49 frame size: 3 |
51 parameter count: 1 | 50 parameter count: 1 |
52 bytecode array length: 22 | 51 bytecode array length: 22 |
53 bytecodes: [ | 52 bytecodes: [ |
54 /* 30 E> */ B(StackCheck), | 53 /* 30 E> */ B(StackCheck), |
55 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0), | 54 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0), |
56 B(Star), R(1), | 55 B(Star), R(1), |
57 /* 47 E> */ B(LdrNamedProperty), R(1), U8(1), U8(3), R(0), | 56 /* 47 E> */ B(LdrNamedProperty), R(1), U8(1), U8(3), R(0), |
58 B(LdaConstant), U8(2), | 57 B(LdaConstant), U8(2), |
59 B(Star), R(2), | 58 B(Star), R(2), |
60 /* 48 E> */ B(Call), R(0), R(1), U8(2), U8(1), | 59 /* 48 E> */ B(Call), R(0), R(1), U8(2), U8(1), |
61 /* 62 S> */ B(Return), | 60 /* 62 S> */ B(Return), |
62 ] | 61 ] |
63 constant pool: [ | 62 constant pool: [ |
64 "ab+d", | 63 ONE_BYTE_INTERNALIZED_STRING_TYPE ["ab+d"], |
65 "exec", | 64 ONE_BYTE_INTERNALIZED_STRING_TYPE ["exec"], |
66 "abdd", | 65 ONE_BYTE_INTERNALIZED_STRING_TYPE ["abdd"], |
67 ] | 66 ] |
68 handlers: [ | 67 handlers: [ |
69 ] | 68 ] |
70 | 69 |
OLD | NEW |