blob: adffb750bb7a9aa8777a119878374ab407ca46cf [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001#
2# Autogenerated by generate-bytecode-expectations.
3#
4
5---
6pool type: string
7execute: yes
8wrap: yes
9
10---
11snippet: "
12 return /ab+d/;
13"
14frame size: 0
15parameter count: 1
16bytecode array length: 6
17bytecodes: [
18 B(StackCheck),
19 B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
20 B(Return),
21]
22constant pool: [
23 "ab+d",
24]
25handlers: [
26]
27
28---
29snippet: "
30 return /(\\w+)\\s(\\w+)/i;
31"
32frame size: 0
33parameter count: 1
34bytecode array length: 6
35bytecodes: [
36 B(StackCheck),
37 B(CreateRegExpLiteral), U8(0), U8(0), U8(2),
38 B(Return),
39]
40constant pool: [
41 "(\x5cw+)\x5cs(\x5cw+)",
42]
43handlers: [
44]
45
46---
47snippet: "
48 return /ab+d/.exec('abdd');
49"
50frame size: 3
51parameter count: 1
52bytecode array length: 23
53bytecodes: [
54 B(StackCheck),
55 B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
56 B(Star), R(1),
57 B(LoadIC), R(1), U8(1), U8(3),
58 B(Star), R(0),
59 B(LdaConstant), U8(2),
60 B(Star), R(2),
61 B(Call), R(0), R(1), U8(2), U8(1),
62 B(Return),
63]
64constant pool: [
65 "ab+d",
66 "exec",
67 "abdd",
68]
69handlers: [
70]
71