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

Side by Side Diff: src/interpreter/bytecode-array-builder.h

Issue 1542083002: [Interpreter] Adds support for DeleteLookupSlot to Interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Count Operators (value stored in accumulator). 179 // Count Operators (value stored in accumulator).
180 BytecodeArrayBuilder& CountOperation(Token::Value op, Strength strength); 180 BytecodeArrayBuilder& CountOperation(Token::Value op, Strength strength);
181 181
182 // Unary Operators. 182 // Unary Operators.
183 BytecodeArrayBuilder& LogicalNot(); 183 BytecodeArrayBuilder& LogicalNot();
184 BytecodeArrayBuilder& TypeOf(); 184 BytecodeArrayBuilder& TypeOf();
185 185
186 // Deletes property from an object. This expects that accumulator contains 186 // Deletes property from an object. This expects that accumulator contains
187 // the key to be deleted and the register contains a reference to the object. 187 // the key to be deleted and the register contains a reference to the object.
188 BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode); 188 BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode);
189 BytecodeArrayBuilder& DeleteLookupSlot();
189 190
190 // Tests. 191 // Tests.
191 BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg, 192 BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg,
192 Strength strength); 193 Strength strength);
193 194
194 // Casts. 195 // Casts.
195 BytecodeArrayBuilder& CastAccumulatorToBoolean(); 196 BytecodeArrayBuilder& CastAccumulatorToBoolean();
196 BytecodeArrayBuilder& CastAccumulatorToJSObject(); 197 BytecodeArrayBuilder& CastAccumulatorToJSObject();
197 BytecodeArrayBuilder& CastAccumulatorToName(); 198 BytecodeArrayBuilder& CastAccumulatorToName();
198 BytecodeArrayBuilder& CastAccumulatorToNumber(); 199 BytecodeArrayBuilder& CastAccumulatorToNumber();
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 374
374 DISALLOW_COPY_AND_ASSIGN(TemporaryRegisterScope); 375 DISALLOW_COPY_AND_ASSIGN(TemporaryRegisterScope);
375 }; 376 };
376 377
377 378
378 } // namespace interpreter 379 } // namespace interpreter
379 } // namespace internal 380 } // namespace internal
380 } // namespace v8 381 } // namespace v8
381 382
382 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 383 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698