Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/RegExpLiterals.golden

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reflow REPEAT_249 macro. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #
2 # Autogenerated by generate-bytecode-expectations.
3 #
4
5 ---
6 pool type: string
7 execute: yes
8 wrap: yes
9
10 ---
11 snippet: "
12 return /ab+d/;
13 "
14 frame size: 0
15 parameter count: 1
16 bytecode array length: 6
17 bytecodes: [
18 B(StackCheck),
19 B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
20 B(Return),
21 ]
22 constant pool: [
23 "ab+d",
24 ]
25 handlers: [
26 ]
27
28 ---
29 snippet: "
30 return /(\\w+)\\s(\\w+)/i;
31 "
32 frame size: 0
33 parameter count: 1
34 bytecode array length: 6
35 bytecodes: [
36 B(StackCheck),
37 B(CreateRegExpLiteral), U8(0), U8(0), U8(2),
38 B(Return),
39 ]
40 constant pool: [
41 "(\x5cw+)\x5cs(\x5cw+)",
42 ]
43 handlers: [
44 ]
45
46 ---
47 snippet: "
48 return /ab+d/.exec('abdd');
49 "
50 frame size: 3
51 parameter count: 1
52 bytecode array length: 23
53 bytecodes: [
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 ]
64 constant pool: [
65 "ab+d",
66 "exec",
67 "abdd",
68 ]
69 handlers: [
70 ]
71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698