OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/compiler/common-operator.h" | 5 #include "src/compiler/common-operator.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
11 #include "src/compiler/operator.h" | 11 #include "src/compiler/operator.h" |
12 #include "src/handles-inl.h" | 12 #include "src/handles-inl.h" |
13 #include "src/zone.h" | 13 #include "src/zone/zone.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 namespace compiler { | 17 namespace compiler { |
18 | 18 |
19 std::ostream& operator<<(std::ostream& os, BranchHint hint) { | 19 std::ostream& operator<<(std::ostream& os, BranchHint hint) { |
20 switch (hint) { | 20 switch (hint) { |
21 case BranchHint::kNone: | 21 case BranchHint::kNone: |
22 return os << "None"; | 22 return os << "None"; |
23 case BranchHint::kTrue: | 23 case BranchHint::kTrue: |
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 CommonOperatorBuilder::CreateFrameStateFunctionInfo( | 1085 CommonOperatorBuilder::CreateFrameStateFunctionInfo( |
1086 FrameStateType type, int parameter_count, int local_count, | 1086 FrameStateType type, int parameter_count, int local_count, |
1087 Handle<SharedFunctionInfo> shared_info) { | 1087 Handle<SharedFunctionInfo> shared_info) { |
1088 return new (zone()->New(sizeof(FrameStateFunctionInfo))) | 1088 return new (zone()->New(sizeof(FrameStateFunctionInfo))) |
1089 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); | 1089 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); |
1090 } | 1090 } |
1091 | 1091 |
1092 } // namespace compiler | 1092 } // namespace compiler |
1093 } // namespace internal | 1093 } // namespace internal |
1094 } // namespace v8 | 1094 } // namespace v8 |
OLD | NEW |