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

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

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move golden files to subdir, update golden format. 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 \"This is a string\";
13 "
14 frame size: 0
15 parameter count: 1
16 bytecode array length: 4
17 bytecodes: [
18 B(StackCheck),
19 B(LdaConstant), U8(0),
20 B(Return),
21 ]
22 constant pool: [
23 "This is a string",
24 ]
25 handlers: [
26 ]
27
28 ---
29 snippet: "
30 var a = \"First string\"; return \"Second string\";
31 "
32 frame size: 1
33 parameter count: 1
34 bytecode array length: 8
35 bytecodes: [
36 B(StackCheck),
37 B(LdaConstant), U8(0),
38 B(Star), R(0),
39 B(LdaConstant), U8(1),
40 B(Return),
41 ]
42 constant pool: [
43 "First string",
44 "Second string",
45 ]
46 handlers: [
47 ]
48
49 ---
50 snippet: "
51 var a = \"Same string\"; return \"Same string\";
52 "
53 frame size: 1
54 parameter count: 1
55 bytecode array length: 8
56 bytecodes: [
57 B(StackCheck),
58 B(LdaConstant), U8(0),
59 B(Star), R(0),
60 B(LdaConstant), U8(0),
61 B(Return),
62 ]
63 constant pool: [
64 "Same string",
65 ]
66 handlers: [
67 ]
68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698