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

Side by Side Diff: src/interpreter/bytecode-generator.h

Issue 1410953003: [Interpreter] Adds delete operator to interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased the patch Created 5 years, 1 month 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
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GENERATOR_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_
6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_ 6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/interpreter/bytecode-array-builder.h" 9 #include "src/interpreter/bytecode-array-builder.h"
10 #include "src/interpreter/bytecodes.h" 10 #include "src/interpreter/bytecodes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Dispatched from VisitBinaryOperation. 44 // Dispatched from VisitBinaryOperation.
45 void VisitArithmeticExpression(BinaryOperation* binop); 45 void VisitArithmeticExpression(BinaryOperation* binop);
46 void VisitCommaExpression(BinaryOperation* binop); 46 void VisitCommaExpression(BinaryOperation* binop);
47 void VisitLogicalOrExpression(BinaryOperation* binop); 47 void VisitLogicalOrExpression(BinaryOperation* binop);
48 void VisitLogicalAndExpression(BinaryOperation* binop); 48 void VisitLogicalAndExpression(BinaryOperation* binop);
49 49
50 // Dispatched from VisitUnaryOperation. 50 // Dispatched from VisitUnaryOperation.
51 void VisitVoid(UnaryOperation* expr); 51 void VisitVoid(UnaryOperation* expr);
52 void VisitTypeOf(UnaryOperation* expr); 52 void VisitTypeOf(UnaryOperation* expr);
53 void VisitNot(UnaryOperation* expr); 53 void VisitNot(UnaryOperation* expr);
54 void VisitDelete(UnaryOperation* expr);
54 55
55 // Helper visitors which perform common operations. 56 // Helper visitors which perform common operations.
56 Register VisitArguments(ZoneList<Expression*>* arguments); 57 Register VisitArguments(ZoneList<Expression*>* arguments);
57 58
58 void VisitPropertyLoad(Register obj, Property* expr); 59 void VisitPropertyLoad(Register obj, Property* expr);
59 void VisitPropertyLoadForAccumulator(Register obj, Property* expr); 60 void VisitPropertyLoadForAccumulator(Register obj, Property* expr);
60 61
61 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot); 62 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot);
62 void VisitVariableLoadForAccumulatorValue(Variable* variable, 63 void VisitVariableLoadForAccumulatorValue(Variable* variable,
63 FeedbackVectorSlot slot); 64 FeedbackVectorSlot slot);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 134
134 int binary_expression_depth_; 135 int binary_expression_depth_;
135 ZoneSet<int> binary_expression_hazard_set_; 136 ZoneSet<int> binary_expression_hazard_set_;
136 }; 137 };
137 138
138 } // namespace interpreter 139 } // namespace interpreter
139 } // namespace internal 140 } // namespace internal
140 } // namespace v8 141 } // namespace v8
141 142
142 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 143 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698