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/interpreter/bytecode-array-writer.h" | 9 #include "src/interpreter/bytecode-array-writer.h" |
10 #include "src/interpreter/bytecode-register-allocator.h" | 10 #include "src/interpreter/bytecode-register-allocator.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 BytecodeArrayBuilder& Throw(); | 258 BytecodeArrayBuilder& Throw(); |
259 BytecodeArrayBuilder& ReThrow(); | 259 BytecodeArrayBuilder& ReThrow(); |
260 BytecodeArrayBuilder& Return(); | 260 BytecodeArrayBuilder& Return(); |
261 | 261 |
262 // Debugger. | 262 // Debugger. |
263 BytecodeArrayBuilder& Debugger(); | 263 BytecodeArrayBuilder& Debugger(); |
264 | 264 |
265 // Complex flow control. | 265 // Complex flow control. |
266 BytecodeArrayBuilder& ForInPrepare(Register receiver, | 266 BytecodeArrayBuilder& ForInPrepare(Register receiver, |
267 Register cache_info_triple); | 267 Register cache_info_triple); |
268 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length); | 268 BytecodeArrayBuilder& ForInContinue(Register index, Register cache_length); |
269 BytecodeArrayBuilder& ForInNext(Register receiver, Register index, | 269 BytecodeArrayBuilder& ForInNext(Register receiver, Register index, |
270 Register cache_type_array_pair, | 270 Register cache_type_array_pair, |
271 int feedback_slot); | 271 int feedback_slot); |
272 BytecodeArrayBuilder& ForInStep(Register index); | 272 BytecodeArrayBuilder& ForInStep(Register index); |
273 | 273 |
274 // Generators. | 274 // Generators. |
275 BytecodeArrayBuilder& SuspendGenerator(Register generator); | 275 BytecodeArrayBuilder& SuspendGenerator(Register generator); |
276 BytecodeArrayBuilder& ResumeGenerator(Register generator); | 276 BytecodeArrayBuilder& ResumeGenerator(Register generator); |
277 | 277 |
278 // Exception handling. | 278 // Exception handling. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 BytecodeSourceInfo latest_source_info_; | 401 BytecodeSourceInfo latest_source_info_; |
402 | 402 |
403 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); | 403 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); |
404 }; | 404 }; |
405 | 405 |
406 } // namespace interpreter | 406 } // namespace interpreter |
407 } // namespace internal | 407 } // namespace internal |
408 } // namespace v8 | 408 } // namespace v8 |
409 | 409 |
410 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 410 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
OLD | NEW |