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