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

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

Issue 1772423002: Don't do any special normalization if a boilerplate contains function literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mark osr-one/osr-two as skip on ignition/arm Created 4 years, 9 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 B(StackCheck), 18 B(StackCheck),
19 B(CreateObjectLiteral), U8(0), U8(0), U8(9), 19 B(CreateObjectLiteral), U8(0), U8(0), U8(5),
20 B(Star), R(1), 20 B(Star), R(1),
21 B(Star), R(0), 21 B(Star), R(0),
22 B(Star), R(1), 22 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 B(Return), 25 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 B(StackCheck), 42 B(StackCheck),
43 B(CreateObjectLiteral), U8(0), U8(0), U8(9), 43 B(CreateObjectLiteral), U8(0), U8(0), U8(5),
44 B(Star), R(1), 44 B(Star), R(1),
45 B(Star), R(0), 45 B(Star), R(0),
46 B(Star), R(1), 46 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 B(Return), 49 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 B(StackCheck), 66 B(StackCheck),
67 B(CreateObjectLiteral), U8(0), U8(0), U8(9), 67 B(CreateObjectLiteral), U8(0), U8(0), U8(5),
68 B(Star), R(1), 68 B(Star), R(1),
69 B(Star), R(0), 69 B(Star), R(0),
70 B(Star), R(1), 70 B(Star), R(1),
71 B(LdaSmi8), U8(2), 71 B(LdaSmi8), U8(2),
72 B(DeletePropertySloppy), R(1), 72 B(DeletePropertySloppy), R(1),
73 B(Return), 73 B(Return),
74 ] 74 ]
75 constant pool: [ 75 constant pool: [
76 InstanceType::FIXED_ARRAY_TYPE, 76 InstanceType::FIXED_ARRAY_TYPE,
77 ] 77 ]
(...skipping 26 matching lines...) Expand all
104 (function f1() {return a;}); 104 (function f1() {return a;});
105 return delete a[1]; 105 return delete a[1];
106 " 106 "
107 frame size: 2 107 frame size: 2
108 parameter count: 1 108 parameter count: 1
109 bytecode array length: 30 109 bytecode array length: 30
110 bytecodes: [ 110 bytecodes: [
111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
112 B(PushContext), R(0), 112 B(PushContext), R(0),
113 B(StackCheck), 113 B(StackCheck),
114 B(CreateObjectLiteral), U8(0), U8(0), U8(9), 114 B(CreateObjectLiteral), U8(0), U8(0), U8(5),
115 B(Star), R(1), 115 B(Star), R(1),
116 B(StaContextSlot), R(context), U8(4), 116 B(StaContextSlot), R(context), U8(4),
117 B(CreateClosure), U8(1), U8(0), 117 B(CreateClosure), U8(1), U8(0),
118 B(LdaContextSlot), R(context), U8(4), 118 B(LdaContextSlot), R(context), U8(4),
119 B(Star), R(1), 119 B(Star), R(1),
120 B(LdaSmi8), U8(1), 120 B(LdaSmi8), U8(1),
121 B(DeletePropertyStrict), R(1), 121 B(DeletePropertyStrict), R(1),
122 B(Return), 122 B(Return),
123 ] 123 ]
124 constant pool: [ 124 constant pool: [
(...skipping 13 matching lines...) Expand all
138 bytecodes: [ 138 bytecodes: [
139 B(StackCheck), 139 B(StackCheck),
140 B(LdaTrue), 140 B(LdaTrue),
141 B(Return), 141 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