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/code-stubs.h" | 5 #include "src/code-stubs.h" |
6 #include "src/compiler.h" | 6 #include "src/compiler.h" |
7 #include "src/compiler/linkage.h" | 7 #include "src/compiler/linkage.h" |
8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
9 #include "src/compiler/pipeline.h" | 9 #include "src/compiler/pipeline.h" |
10 #include "src/scopes.h" | 10 #include "src/scopes.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 129 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
130 case Runtime::kTraceEnter: | 130 case Runtime::kTraceEnter: |
131 case Runtime::kTraceExit: | 131 case Runtime::kTraceExit: |
132 return false; | 132 return false; |
133 case Runtime::kInlineArguments: | 133 case Runtime::kInlineArguments: |
134 case Runtime::kInlineCallFunction: | 134 case Runtime::kInlineCallFunction: |
135 case Runtime::kInlineDeoptimizeNow: | 135 case Runtime::kInlineDeoptimizeNow: |
136 case Runtime::kInlineGetCallerJSFunction: | 136 case Runtime::kInlineGetCallerJSFunction: |
137 case Runtime::kInlineGetPrototype: | 137 case Runtime::kInlineGetPrototype: |
138 case Runtime::kInlineRegExpExec: | 138 case Runtime::kInlineRegExpExec: |
139 case Runtime::kInlineThrowIfNotADate: | 139 case Runtime::kInlineThrowNotDateError: |
140 return true; | 140 return true; |
141 default: | 141 default: |
142 break; | 142 break; |
143 } | 143 } |
144 | 144 |
145 // Most inlined runtime functions (except the ones listed above) can be called | 145 // Most inlined runtime functions (except the ones listed above) can be called |
146 // without a FrameState or will be lowered by JSIntrinsicLowering internally. | 146 // without a FrameState or will be lowered by JSIntrinsicLowering internally. |
147 const Runtime::Function* const f = Runtime::FunctionForId(function); | 147 const Runtime::Function* const f = Runtime::FunctionForId(function); |
148 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false; | 148 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false; |
149 | 149 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, | 200 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, |
201 const MachineSignature* sig) { | 201 const MachineSignature* sig) { |
202 UNIMPLEMENTED(); | 202 UNIMPLEMENTED(); |
203 return NULL; | 203 return NULL; |
204 } | 204 } |
205 #endif // !V8_TURBOFAN_BACKEND | 205 #endif // !V8_TURBOFAN_BACKEND |
206 } // namespace compiler | 206 } // namespace compiler |
207 } // namespace internal | 207 } // namespace internal |
208 } // namespace v8 | 208 } // namespace v8 |
OLD | NEW |