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 | |
238 BytecodeArrayBuilder& Throw(); | 236 BytecodeArrayBuilder& Throw(); |
239 BytecodeArrayBuilder& ReThrow(); | 237 BytecodeArrayBuilder& ReThrow(); |
240 BytecodeArrayBuilder& Return(); | 238 BytecodeArrayBuilder& Return(); |
241 | 239 |
242 // Debugger. | 240 // Debugger. |
243 BytecodeArrayBuilder& Debugger(); | 241 BytecodeArrayBuilder& Debugger(); |
244 | 242 |
245 // Complex flow control. | 243 // Complex flow control. |
246 BytecodeArrayBuilder& ForInPrepare(Register cache_info_triple); | 244 BytecodeArrayBuilder& ForInPrepare(Register cache_info_triple); |
247 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length); | 245 BytecodeArrayBuilder& ForInDone(Register index, Register cache_length); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 BytecodeSourceInfo latest_source_info_; | 380 BytecodeSourceInfo latest_source_info_; |
383 | 381 |
384 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); | 382 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); |
385 }; | 383 }; |
386 | 384 |
387 } // namespace interpreter | 385 } // namespace interpreter |
388 } // namespace internal | 386 } // namespace internal |
389 } // namespace v8 | 387 } // namespace v8 |
390 | 388 |
391 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ | 389 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ |
OLD | NEW |