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 #include "src/interpreter/interpreter.h" | 5 #include "src/interpreter/interpreter.h" |
6 | 6 |
7 #include <fstream> | 7 #include <fstream> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/ast/prettyprinter.h" | 10 #include "src/ast/prettyprinter.h" |
11 #include "src/code-factory.h" | 11 #include "src/code-factory.h" |
12 #include "src/compilation-info.h" | 12 #include "src/compilation-info.h" |
13 #include "src/compiler.h" | 13 #include "src/compiler.h" |
14 #include "src/factory.h" | 14 #include "src/factory.h" |
15 #include "src/interpreter/bytecode-flags.h" | 15 #include "src/interpreter/bytecode-flags.h" |
16 #include "src/interpreter/bytecode-generator.h" | 16 #include "src/interpreter/bytecode-generator.h" |
17 #include "src/interpreter/bytecodes.h" | 17 #include "src/interpreter/bytecodes.h" |
18 #include "src/interpreter/interpreter-assembler.h" | 18 #include "src/interpreter/interpreter-assembler.h" |
19 #include "src/interpreter/interpreter-intrinsics.h" | 19 #include "src/interpreter/interpreter-intrinsics.h" |
20 #include "src/log.h" | 20 #include "src/log.h" |
21 #include "src/zone.h" | 21 #include "src/zone/zone.h" |
22 | 22 |
23 namespace v8 { | 23 namespace v8 { |
24 namespace internal { | 24 namespace internal { |
25 namespace interpreter { | 25 namespace interpreter { |
26 | 26 |
27 using compiler::Node; | 27 using compiler::Node; |
28 typedef CodeStubAssembler::Label Label; | 28 typedef CodeStubAssembler::Label Label; |
29 typedef CodeStubAssembler::Variable Variable; | 29 typedef CodeStubAssembler::Variable Variable; |
30 typedef InterpreterAssembler::Arg Arg; | 30 typedef InterpreterAssembler::Arg Arg; |
31 | 31 |
(...skipping 2541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2573 __ StoreObjectField(generator, JSGeneratorObject::kContinuationOffset, | 2573 __ StoreObjectField(generator, JSGeneratorObject::kContinuationOffset, |
2574 __ SmiTag(new_state)); | 2574 __ SmiTag(new_state)); |
2575 __ SetAccumulator(old_state); | 2575 __ SetAccumulator(old_state); |
2576 | 2576 |
2577 __ Dispatch(); | 2577 __ Dispatch(); |
2578 } | 2578 } |
2579 | 2579 |
2580 } // namespace interpreter | 2580 } // namespace interpreter |
2581 } // namespace internal | 2581 } // namespace internal |
2582 } // namespace v8 | 2582 } // namespace v8 |
OLD | NEW |