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/linkage.h" | 5 #include "src/compiler/linkage.h" |
6 | 6 |
7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/pipeline.h" | 10 #include "src/compiler/pipeline.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 // static | 111 // static |
112 bool Linkage::NeedsFrameState(Runtime::FunctionId function) { | 112 bool Linkage::NeedsFrameState(Runtime::FunctionId function) { |
113 if (!FLAG_turbo_deoptimization) { | 113 if (!FLAG_turbo_deoptimization) { |
114 return false; | 114 return false; |
115 } | 115 } |
116 // TODO(jarin) At the moment, we only add frame state for | 116 // TODO(jarin) At the moment, we only add frame state for |
117 // few chosen runtime functions. | 117 // few chosen runtime functions. |
118 switch (function) { | 118 switch (function) { |
119 case Runtime::kDebugBreak: | 119 case Runtime::kDebugBreak: |
| 120 case Runtime::kDebugGetLoadedScripts: |
120 case Runtime::kDeoptimizeFunction: | 121 case Runtime::kDeoptimizeFunction: |
| 122 case Runtime::kInlineCallFunction: |
| 123 case Runtime::kPrepareStep: |
121 case Runtime::kSetScriptBreakPoint: | 124 case Runtime::kSetScriptBreakPoint: |
122 case Runtime::kDebugGetLoadedScripts: | |
123 case Runtime::kStackGuard: | 125 case Runtime::kStackGuard: |
124 return true; | 126 return true; |
125 default: | 127 default: |
126 return false; | 128 return false; |
127 } | 129 } |
128 } | 130 } |
129 | 131 |
130 | 132 |
131 //============================================================================== | 133 //============================================================================== |
132 // Provide unimplemented methods on unsupported architectures, to at least link. | 134 // Provide unimplemented methods on unsupported architectures, to at least link. |
(...skipping 23 matching lines...) Expand all Loading... |
156 | 158 |
157 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, | 159 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, |
158 MachineSignature* sig) { | 160 MachineSignature* sig) { |
159 UNIMPLEMENTED(); | 161 UNIMPLEMENTED(); |
160 return NULL; | 162 return NULL; |
161 } | 163 } |
162 #endif // !V8_TURBOFAN_BACKEND | 164 #endif // !V8_TURBOFAN_BACKEND |
163 } | 165 } |
164 } | 166 } |
165 } // namespace v8::internal::compiler | 167 } // namespace v8::internal::compiler |
OLD | NEW |