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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Delete.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: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 var a = {x:13, y:14}; return delete a.x; 12 var a = {x:13, y:14}; return delete a.x;
13 " 13 "
14 frame size: 2 14 frame size: 2
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 16 16 bytecode array length: 16
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 19 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
20 B(Star), R(1), 20 B(Star), R(1),
21 /* 42 E> */ B(Star), R(0), 21 B(Star), R(0),
22 /* 56 S> */ B(Star), R(1), 22 /* 56 S> */ B(Star), R(1),
23 B(LdaConstant), U8(1), 23 B(LdaConstant), U8(1),
24 B(DeletePropertySloppy), R(1), 24 B(DeletePropertySloppy), R(1),
25 /* 75 S> */ B(Return), 25 /* 75 S> */ B(Return),
26 ] 26 ]
27 constant pool: [ 27 constant pool: [
28 InstanceType::FIXED_ARRAY_TYPE, 28 InstanceType::FIXED_ARRAY_TYPE,
29 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 29 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
30 ] 30 ]
31 handlers: [ 31 handlers: [
32 ] 32 ]
33 33
34 --- 34 ---
35 snippet: " 35 snippet: "
36 'use strict'; var a = {x:13, y:14}; return delete a.x; 36 'use strict'; var a = {x:13, y:14}; return delete a.x;
37 " 37 "
38 frame size: 2 38 frame size: 2
39 parameter count: 1 39 parameter count: 1
40 bytecode array length: 16 40 bytecode array length: 16
41 bytecodes: [ 41 bytecodes: [
42 /* 30 E> */ B(StackCheck), 42 /* 30 E> */ B(StackCheck),
43 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 43 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
44 B(Star), R(1), 44 B(Star), R(1),
45 /* 56 E> */ B(Star), R(0), 45 B(Star), R(0),
46 /* 70 S> */ B(Star), R(1), 46 /* 70 S> */ B(Star), R(1),
47 B(LdaConstant), U8(1), 47 B(LdaConstant), U8(1),
48 B(DeletePropertyStrict), R(1), 48 B(DeletePropertyStrict), R(1),
49 /* 89 S> */ B(Return), 49 /* 89 S> */ B(Return),
50 ] 50 ]
51 constant pool: [ 51 constant pool: [
52 InstanceType::FIXED_ARRAY_TYPE, 52 InstanceType::FIXED_ARRAY_TYPE,
53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 53 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
54 ] 54 ]
55 handlers: [ 55 handlers: [
56 ] 56 ]
57 57
58 --- 58 ---
59 snippet: " 59 snippet: "
60 var a = {1:13, 2:14}; return delete a[2]; 60 var a = {1:13, 2:14}; return delete a[2];
61 " 61 "
62 frame size: 2 62 frame size: 2
63 parameter count: 1 63 parameter count: 1
64 bytecode array length: 16 64 bytecode array length: 16
65 bytecodes: [ 65 bytecodes: [
66 /* 30 E> */ B(StackCheck), 66 /* 30 E> */ B(StackCheck),
67 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 67 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
68 B(Star), R(1), 68 B(Star), R(1),
69 /* 42 E> */ B(Star), R(0), 69 B(Star), R(0),
70 /* 56 S> */ B(Star), R(1), 70 /* 56 S> */ B(Star), R(1),
71 B(LdaSmi), U8(2), 71 B(LdaSmi), U8(2),
72 B(DeletePropertySloppy), R(1), 72 B(DeletePropertySloppy), R(1),
73 /* 76 S> */ B(Return), 73 /* 76 S> */ B(Return),
74 ] 74 ]
75 constant pool: [ 75 constant pool: [
76 InstanceType::FIXED_ARRAY_TYPE, 76 InstanceType::FIXED_ARRAY_TYPE,
77 ] 77 ]
78 handlers: [ 78 handlers: [
79 ] 79 ]
80 80
81 --- 81 ---
82 snippet: " 82 snippet: "
83 var a = 10; return delete a; 83 var a = 10; return delete a;
84 " 84 "
85 frame size: 1 85 frame size: 1
86 parameter count: 1 86 parameter count: 1
87 bytecode array length: 7 87 bytecode array length: 7
88 bytecodes: [ 88 bytecodes: [
89 /* 30 E> */ B(StackCheck), 89 /* 30 E> */ B(StackCheck),
90 /* 42 S> */ B(LdaSmi), U8(10), 90 /* 42 S> */ B(LdaSmi), U8(10),
91 /* 42 E> */ B(Star), R(0), 91 B(Star), R(0),
92 /* 46 S> */ B(LdaFalse), 92 /* 46 S> */ B(LdaFalse),
93 /* 63 S> */ B(Return), 93 /* 63 S> */ B(Return),
94 ] 94 ]
95 constant pool: [ 95 constant pool: [
96 ] 96 ]
97 handlers: [ 97 handlers: [
98 ] 98 ]
99 99
100 --- 100 ---
101 snippet: " 101 snippet: "
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bytecodes: [ 138 bytecodes: [
139 /* 30 E> */ B(StackCheck), 139 /* 30 E> */ B(StackCheck),
140 /* 34 S> */ B(LdaTrue), 140 /* 34 S> */ B(LdaTrue),
141 /* 56 S> */ B(Return), 141 /* 56 S> */ B(Return),
142 ] 142 ]
143 constant pool: [ 143 constant pool: [
144 ] 144 ]
145 handlers: [ 145 handlers: [
146 ] 146 ]
147 147
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698