| OLD | NEW |
| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // Named load property. | 118 // Named load property. |
| 119 BytecodeArrayBuilder& LoadNamedProperty(Register object, | 119 BytecodeArrayBuilder& LoadNamedProperty(Register object, |
| 120 const Handle<Name> name, | 120 const Handle<Name> name, |
| 121 int feedback_slot); | 121 int feedback_slot); |
| 122 // Keyed load property. The key should be in the accumulator. | 122 // Keyed load property. The key should be in the accumulator. |
| 123 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot); | 123 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot); |
| 124 | 124 |
| 125 // Store properties. Flag for NeedsSetFunctionName() should | 125 // Store properties. Flag for NeedsSetFunctionName() should |
| 126 // be in the accumulator. | 126 // be in the accumulator. |
| 127 BytecodeArrayBuilder& StoreDataPropertyInLiteral( | 127 BytecodeArrayBuilder& StoreDataPropertyInLiteral( |
| 128 Register object, Register name, Register value, | 128 Register object, Register name, DataPropertyInLiteralFlags flags, |
| 129 DataPropertyInLiteralFlags flags); | 129 int feedback_slot); |
| 130 | 130 |
| 131 // Store properties. The value to be stored should be in the accumulator. | 131 // Store properties. The value to be stored should be in the accumulator. |
| 132 BytecodeArrayBuilder& StoreNamedProperty(Register object, | 132 BytecodeArrayBuilder& StoreNamedProperty(Register object, |
| 133 const Handle<Name> name, | 133 const Handle<Name> name, |
| 134 int feedback_slot, | 134 int feedback_slot, |
| 135 LanguageMode language_mode); | 135 LanguageMode language_mode); |
| 136 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key, | 136 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key, |
| 137 int feedback_slot, | 137 int feedback_slot, |
| 138 LanguageMode language_mode); | 138 LanguageMode language_mode); |
| 139 | 139 |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 static int const kNoFeedbackSlot = 0; | 439 static int const kNoFeedbackSlot = 0; |
| 440 | 440 |
| 441 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); | 441 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); |
| 442 }; | 442 }; |
| 443 | 443 |
| 444 } // namespace interpreter | 444 } // namespace interpreter |
| 445 } // namespace internal | 445 } // namespace internal |
| 446 } // namespace v8 | 446 } // namespace v8 |
| 447 | 447 |
| 448 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 448 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
| OLD | NEW |