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

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

Issue 1998203002: [Interpreter] Preserve source positions in peephole optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nitlet on last patch set. 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 ---
(...skipping 17 matching lines...) Expand all
28 --- 28 ---
29 snippet: " 29 snippet: "
30 var a = \"First string\"; return \"Second string\"; 30 var a = \"First string\"; return \"Second string\";
31 " 31 "
32 frame size: 1 32 frame size: 1
33 parameter count: 1 33 parameter count: 1
34 bytecode array length: 8 34 bytecode array length: 8
35 bytecodes: [ 35 bytecodes: [
36 /* 30 E> */ B(StackCheck), 36 /* 30 E> */ B(StackCheck),
37 /* 42 S> */ B(LdaConstant), U8(0), 37 /* 42 S> */ B(LdaConstant), U8(0),
38 /* 42 E> */ B(Star), R(0), 38 B(Star), R(0),
39 /* 58 S> */ B(LdaConstant), U8(1), 39 /* 58 S> */ B(LdaConstant), U8(1),
40 /* 82 S> */ B(Return), 40 /* 82 S> */ B(Return),
41 ] 41 ]
42 constant pool: [ 42 constant pool: [
43 "First string", 43 "First string",
44 "Second string", 44 "Second string",
45 ] 45 ]
46 handlers: [ 46 handlers: [
47 ] 47 ]
48 48
49 --- 49 ---
50 snippet: " 50 snippet: "
51 var a = \"Same string\"; return \"Same string\"; 51 var a = \"Same string\"; return \"Same string\";
52 " 52 "
53 frame size: 1 53 frame size: 1
54 parameter count: 1 54 parameter count: 1
55 bytecode array length: 8 55 bytecode array length: 8
56 bytecodes: [ 56 bytecodes: [
57 /* 30 E> */ B(StackCheck), 57 /* 30 E> */ B(StackCheck),
58 /* 42 S> */ B(LdaConstant), U8(0), 58 /* 42 S> */ B(LdaConstant), U8(0),
59 /* 42 E> */ B(Star), R(0), 59 B(Star), R(0),
60 /* 57 S> */ B(LdaConstant), U8(0), 60 /* 57 S> */ B(LdaConstant), U8(0),
61 /* 79 S> */ B(Return), 61 /* 79 S> */ B(Return),
62 ] 62 ]
63 constant pool: [ 63 constant pool: [
64 "Same string", 64 "Same string",
65 ] 65 ]
66 handlers: [ 66 handlers: [
67 ] 67 ]
68 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698