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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 BytecodeArrayBuilder& Jump(BytecodeLabel* label); | 225 BytecodeArrayBuilder& Jump(BytecodeLabel* label); |
226 BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label); | 226 BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label); |
227 BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label); | 227 BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label); |
228 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label); | 228 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label); |
229 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label); | 229 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label); |
230 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label); | 230 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label); |
231 | 231 |
232 BytecodeArrayBuilder& StackCheck(int position); | 232 BytecodeArrayBuilder& StackCheck(int position); |
233 | 233 |
| 234 BytecodeArrayBuilder& OsrPoll(int loop_depth); |
| 235 |
234 BytecodeArrayBuilder& Throw(); | 236 BytecodeArrayBuilder& Throw(); |
235 BytecodeArrayBuilder& ReThrow(); | 237 BytecodeArrayBuilder& ReThrow(); |
236 BytecodeArrayBuilder& Return(); | 238 BytecodeArrayBuilder& Return(); |
237 | 239 |
238 // Debugger. | 240 // Debugger. |
239 BytecodeArrayBuilder& Debugger(); | 241 BytecodeArrayBuilder& Debugger(); |
240 | 242 |
241 // Complex flow control. | 243 // Complex flow control. |
242 BytecodeArrayBuilder& ForInPrepare(Register cache_info_triple); | 244 BytecodeArrayBuilder& ForInPrepare(Register cache_info_triple); |
243 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length); | 245 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 BytecodeSourceInfo latest_source_info_; | 375 BytecodeSourceInfo latest_source_info_; |
374 | 376 |
375 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); | 377 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); |
376 }; | 378 }; |
377 | 379 |
378 } // namespace interpreter | 380 } // namespace interpreter |
379 } // namespace internal | 381 } // namespace internal |
380 } // namespace v8 | 382 } // namespace v8 |
381 | 383 |
382 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 384 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
OLD | NEW |