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

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

Issue 1985753002: [interpreter] Introduce fused bytecodes for common sequences. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 6 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 ---
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 --- 100 ---
101 snippet: " 101 snippet: "
102 'use strict'; 102 'use strict';
103 var a = {1:10}; 103 var a = {1:10};
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: 29
110 bytecodes: [ 110 bytecodes: [
111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
112 B(PushContext), R(0), 112 B(PushContext), R(0),
113 /* 30 E> */ B(StackCheck), 113 /* 30 E> */ B(StackCheck),
114 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 114 /* 56 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
115 B(Star), R(1), 115 B(Star), R(1),
116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), 116 /* 56 E> */ B(StaContextSlot), R(context), U8(4),
117 /* 64 S> */ B(CreateClosure), U8(1), U8(0), 117 /* 64 S> */ B(CreateClosure), U8(1), U8(0),
118 /* 93 S> */ B(LdaContextSlot), R(context), U8(4), 118 /* 93 S> */ B(LdrContextSlot), R(context), U8(4), R(1),
119 B(Star), R(1),
120 B(LdaSmi), U8(1), 119 B(LdaSmi), U8(1),
121 B(DeletePropertyStrict), R(1), 120 B(DeletePropertyStrict), R(1),
122 /* 113 S> */ B(Return), 121 /* 113 S> */ B(Return),
123 ] 122 ]
124 constant pool: [ 123 constant pool: [
125 InstanceType::FIXED_ARRAY_TYPE, 124 InstanceType::FIXED_ARRAY_TYPE,
126 InstanceType::SHARED_FUNCTION_INFO_TYPE, 125 InstanceType::SHARED_FUNCTION_INFO_TYPE,
127 ] 126 ]
128 handlers: [ 127 handlers: [
129 ] 128 ]
130 129
131 --- 130 ---
132 snippet: " 131 snippet: "
133 return delete 'test'; 132 return delete 'test';
134 " 133 "
135 frame size: 0 134 frame size: 0
136 parameter count: 1 135 parameter count: 1
137 bytecode array length: 3 136 bytecode array length: 3
138 bytecodes: [ 137 bytecodes: [
139 /* 30 E> */ B(StackCheck), 138 /* 30 E> */ B(StackCheck),
140 /* 34 S> */ B(LdaTrue), 139 /* 34 S> */ B(LdaTrue),
141 /* 56 S> */ B(Return), 140 /* 56 S> */ B(Return),
142 ] 141 ]
143 constant pool: [ 142 constant pool: [
144 ] 143 ]
145 handlers: [ 144 handlers: [
146 ] 145 ]
147 146
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698