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

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

Issue 2510743002: [interpreter] Bytecode for StaDataPropertyInLiteral. (Closed)
Patch Set: Delete unused variable. Created 4 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
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 "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/base/compiler-specific.h" 9 #include "src/base/compiler-specific.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 BytecodeArrayBuilder& MoveRegister(Register from, Register to); 115 BytecodeArrayBuilder& MoveRegister(Register from, Register to);
116 116
117 // Named load property. 117 // Named load property.
118 BytecodeArrayBuilder& LoadNamedProperty(Register object, 118 BytecodeArrayBuilder& LoadNamedProperty(Register object,
119 const Handle<Name> name, 119 const Handle<Name> name,
120 int feedback_slot); 120 int feedback_slot);
121 // Keyed load property. The key should be in the accumulator. 121 // Keyed load property. The key should be in the accumulator.
122 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot); 122 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot);
123 123
124 // Store properties. The value to be stored should be in the accumulator. 124 // Store properties. The value to be stored should be in the accumulator.
125 BytecodeArrayBuilder& StoreDataPropertyInLiteral(
126 Register object, Register name, Register attrs,
127 Register needs_function_name);
128
129 // Store properties. The value to be stored should be in the accumulator.
125 BytecodeArrayBuilder& StoreNamedProperty(Register object, 130 BytecodeArrayBuilder& StoreNamedProperty(Register object,
126 const Handle<Name> name, 131 const Handle<Name> name,
127 int feedback_slot, 132 int feedback_slot,
128 LanguageMode language_mode); 133 LanguageMode language_mode);
129 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key, 134 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key,
130 int feedback_slot, 135 int feedback_slot,
131 LanguageMode language_mode); 136 LanguageMode language_mode);
132 137
133 // Lookup the variable with |name|. 138 // Lookup the variable with |name|.
134 BytecodeArrayBuilder& LoadLookupSlot(const Handle<String> name, 139 BytecodeArrayBuilder& LoadLookupSlot(const Handle<String> name,
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 static int const kNoFeedbackSlot = 0; 420 static int const kNoFeedbackSlot = 0;
416 421
417 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); 422 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
418 }; 423 };
419 424
420 } // namespace interpreter 425 } // namespace interpreter
421 } // namespace internal 426 } // namespace internal
422 } // namespace v8 427 } // namespace v8
423 428
424 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 429 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698