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

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

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: std::vector instead of initializer_list, golden path as constant. 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 bytecodes: [
17 B(StackCheck),
18 B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
19 B(Return),
20 ]
21 constant pool: [
22 "ab+d",
23 ]
24 handlers: [
25 ]
26
27 ---
28 snippet: "
29 return /(\\w+)\\s(\\w+)/i;
30 "
31 frame size: 0
32 parameter count: 1
33 bytecodes: [
34 B(StackCheck),
35 B(CreateRegExpLiteral), U8(0), U8(0), U8(2),
36 B(Return),
37 ]
38 constant pool: [
39 "(\x5cw+)\x5cs(\x5cw+)",
40 ]
41 handlers: [
42 ]
43
44 ---
45 snippet: "
46 return /ab+d/.exec('abdd');
47 "
48 frame size: 3 # in multiples of sizeof(void*)
49 parameter count: 1
50 bytecodes: [
51 B(StackCheck),
52 B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
53 B(Star), R(1),
54 B(LoadIC), R(1), U8(1), U8(3),
55 B(Star), R(0),
56 B(LdaConstant), U8(2),
57 B(Star), R(2),
58 B(Call), R(0), R(1), U8(2), U8(1),
59 B(Return),
60 ]
61 constant pool: [
62 "ab+d",
63 "exec",
64 "abdd",
65 ]
66 handlers: [
67 ]
68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698