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

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

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: gyp file Created 3 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
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 var a = {x:13, y:14}; return delete a.x; 10 var a = {x:13, y:14}; return delete a.x;
11 " 11 "
12 frame size: 2 12 frame size: 2
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 14 14 bytecode array length: 14
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 17 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(1),
18 B(Mov), R(1), R(0), 18 B(Mov), R(1), R(0),
19 /* 56 S> */ B(LdaConstant), U8(1), 19 /* 56 S> */ B(LdaConstant), U8(1),
20 B(DeletePropertySloppy), R(0), 20 B(DeletePropertySloppy), R(0),
21 /* 75 S> */ B(Return), 21 /* 75 S> */ B(Return),
22 ] 22 ]
23 constant pool: [ 23 constant pool: [
24 FIXED_ARRAY_TYPE, 24 FIXED_ARRAY_TYPE,
25 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 25 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
26 ] 26 ]
27 handlers: [ 27 handlers: [
28 ] 28 ]
29 29
30 --- 30 ---
31 snippet: " 31 snippet: "
32 'use strict'; var a = {x:13, y:14}; return delete a.x; 32 'use strict'; var a = {x:13, y:14}; return delete a.x;
33 " 33 "
34 frame size: 2 34 frame size: 2
35 parameter count: 1 35 parameter count: 1
36 bytecode array length: 14 36 bytecode array length: 14
37 bytecodes: [ 37 bytecodes: [
38 /* 30 E> */ B(StackCheck), 38 /* 30 E> */ B(StackCheck),
39 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 39 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(1),
40 B(Mov), R(1), R(0), 40 B(Mov), R(1), R(0),
41 /* 70 S> */ B(LdaConstant), U8(1), 41 /* 70 S> */ B(LdaConstant), U8(1),
42 B(DeletePropertyStrict), R(0), 42 B(DeletePropertyStrict), R(0),
43 /* 89 S> */ B(Return), 43 /* 89 S> */ B(Return),
44 ] 44 ]
45 constant pool: [ 45 constant pool: [
46 FIXED_ARRAY_TYPE, 46 FIXED_ARRAY_TYPE,
47 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 47 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
48 ] 48 ]
49 handlers: [ 49 handlers: [
50 ] 50 ]
51 51
52 --- 52 ---
53 snippet: " 53 snippet: "
54 var a = {1:13, 2:14}; return delete a[2]; 54 var a = {1:13, 2:14}; return delete a[2];
55 " 55 "
56 frame size: 2 56 frame size: 2
57 parameter count: 1 57 parameter count: 1
58 bytecode array length: 14 58 bytecode array length: 14
59 bytecodes: [ 59 bytecodes: [
60 /* 30 E> */ B(StackCheck), 60 /* 30 E> */ B(StackCheck),
61 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 61 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(1),
62 B(Mov), R(1), R(0), 62 B(Mov), R(1), R(0),
63 /* 56 S> */ B(LdaSmi), I8(2), 63 /* 56 S> */ B(LdaSmi), I8(2),
64 B(DeletePropertySloppy), R(0), 64 B(DeletePropertySloppy), R(0),
65 /* 76 S> */ B(Return), 65 /* 76 S> */ B(Return),
66 ] 66 ]
67 constant pool: [ 67 constant pool: [
68 FIXED_ARRAY_TYPE, 68 FIXED_ARRAY_TYPE,
69 ] 69 ]
70 handlers: [ 70 handlers: [
71 ] 71 ]
(...skipping 24 matching lines...) Expand all
96 (function f1() {return a;}); 96 (function f1() {return a;});
97 return delete a[1]; 97 return delete a[1];
98 " 98 "
99 frame size: 2 99 frame size: 2
100 parameter count: 1 100 parameter count: 1
101 bytecode array length: 27 101 bytecode array length: 27
102 bytecodes: [ 102 bytecodes: [
103 B(CreateFunctionContext), U8(1), 103 B(CreateFunctionContext), U8(1),
104 B(PushContext), R(0), 104 B(PushContext), R(0),
105 /* 30 E> */ B(StackCheck), 105 /* 30 E> */ B(StackCheck),
106 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 106 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(1),
107 B(Ldar), R(1), 107 B(Ldar), R(1),
108 /* 56 E> */ B(StaCurrentContextSlot), U8(4), 108 /* 56 E> */ B(StaCurrentContextSlot), U8(4),
109 /* 64 S> */ B(CreateClosure), U8(1), U8(2), U8(2), 109 /* 64 S> */ B(CreateClosure), U8(1), U8(3), U8(2),
110 /* 93 S> */ B(LdaCurrentContextSlot), U8(4), 110 /* 93 S> */ B(LdaCurrentContextSlot), U8(4),
111 B(Star), R(1), 111 B(Star), R(1),
112 B(LdaSmi), I8(1), 112 B(LdaSmi), I8(1),
113 B(DeletePropertyStrict), R(1), 113 B(DeletePropertyStrict), R(1),
114 /* 113 S> */ B(Return), 114 /* 113 S> */ B(Return),
115 ] 115 ]
116 constant pool: [ 116 constant pool: [
117 FIXED_ARRAY_TYPE, 117 FIXED_ARRAY_TYPE,
118 SHARED_FUNCTION_INFO_TYPE, 118 SHARED_FUNCTION_INFO_TYPE,
119 ] 119 ]
(...skipping 10 matching lines...) Expand all
130 bytecodes: [ 130 bytecodes: [
131 /* 30 E> */ B(StackCheck), 131 /* 30 E> */ B(StackCheck),
132 /* 34 S> */ B(LdaTrue), 132 /* 34 S> */ B(LdaTrue),
133 /* 56 S> */ B(Return), 133 /* 56 S> */ B(Return),
134 ] 134 ]
135 constant pool: [ 135 constant pool: [
136 ] 136 ]
137 handlers: [ 137 handlers: [
138 ] 138 ]
139 139
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698