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

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

Issue 1963663002: [interpreter] Add checks for source position to test-bytecode-generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bad implicit cast. Created 4 years, 7 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
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 return /ab+d/; 12 return /ab+d/;
13 " 13 "
14 frame size: 0 14 frame size: 0
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 6 16 bytecode array length: 6
17 bytecodes: [ 17 bytecodes: [
18 B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 B(CreateRegExpLiteral), U8(0), U8(0), U8(0), 19 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
20 B(Return), 20 /* 49 S> */ B(Return),
21 ] 21 ]
22 constant pool: [ 22 constant pool: [
23 "ab+d", 23 "ab+d",
24 ] 24 ]
25 handlers: [ 25 handlers: [
26 ] 26 ]
27 27
28 --- 28 ---
29 snippet: " 29 snippet: "
30 return /(\\w+)\\s(\\w+)/i; 30 return /(\\w+)\\s(\\w+)/i;
31 " 31 "
32 frame size: 0 32 frame size: 0
33 parameter count: 1 33 parameter count: 1
34 bytecode array length: 6 34 bytecode array length: 6
35 bytecodes: [ 35 bytecodes: [
36 B(StackCheck), 36 /* 30 E> */ B(StackCheck),
37 B(CreateRegExpLiteral), U8(0), U8(0), U8(2), 37 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(2),
38 B(Return), 38 /* 58 S> */ B(Return),
39 ] 39 ]
40 constant pool: [ 40 constant pool: [
41 "(\x5cw+)\x5cs(\x5cw+)", 41 "(\x5cw+)\x5cs(\x5cw+)",
42 ] 42 ]
43 handlers: [ 43 handlers: [
44 ] 44 ]
45 45
46 --- 46 ---
47 snippet: " 47 snippet: "
48 return /ab+d/.exec('abdd'); 48 return /ab+d/.exec('abdd');
49 " 49 "
50 frame size: 3 50 frame size: 3
51 parameter count: 1 51 parameter count: 1
52 bytecode array length: 23 52 bytecode array length: 23
53 bytecodes: [ 53 bytecodes: [
54 B(StackCheck), 54 /* 30 E> */ B(StackCheck),
55 B(CreateRegExpLiteral), U8(0), U8(0), U8(0), 55 /* 34 S> */ B(CreateRegExpLiteral), U8(0), U8(0), U8(0),
56 B(Star), R(1), 56 B(Star), R(1),
57 B(LoadIC), R(1), U8(1), U8(3), 57 /* 47 E> */ B(LoadIC), R(1), U8(1), U8(3),
58 B(Star), R(0), 58 B(Star), R(0),
59 B(LdaConstant), U8(2), 59 B(LdaConstant), U8(2),
60 B(Star), R(2), 60 B(Star), R(2),
61 B(Call), R(0), R(1), U8(2), U8(1), 61 /* 48 E> */ B(Call), R(0), R(1), U8(2), U8(1),
62 B(Return), 62 /* 62 S> */ B(Return),
63 ] 63 ]
64 constant pool: [ 64 constant pool: [
65 "ab+d", 65 "ab+d",
66 "exec", 66 "exec",
67 "abdd", 67 "abdd",
68 ] 68 ]
69 handlers: [ 69 handlers: [
70 ] 70 ]
71 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698