| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 case Runtime::kStringCompare: | 122 case Runtime::kStringCompare: |
| 123 case Runtime::kStringEquals: | 123 case Runtime::kStringEquals: |
| 124 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 124 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
| 125 case Runtime::kTraceEnter: | 125 case Runtime::kTraceEnter: |
| 126 case Runtime::kTraceExit: | 126 case Runtime::kTraceExit: |
| 127 case Runtime::kTypeof: | 127 case Runtime::kTypeof: |
| 128 return false; | 128 return false; |
| 129 case Runtime::kInlineArguments: | 129 case Runtime::kInlineArguments: |
| 130 case Runtime::kInlineCallFunction: | 130 case Runtime::kInlineCallFunction: |
| 131 case Runtime::kInlineDateField: | 131 case Runtime::kInlineDateField: |
| 132 case Runtime::kInlineOptimizedGetPrototype: | 132 case Runtime::kInlineGetPrototype: |
| 133 case Runtime::kInlineRegExpExec: | 133 case Runtime::kInlineRegExpExec: |
| 134 return true; | 134 return true; |
| 135 default: | 135 default: |
| 136 break; | 136 break; |
| 137 } | 137 } |
| 138 | 138 |
| 139 // Most inlined runtime functions (except the ones listed above) can be called | 139 // Most inlined runtime functions (except the ones listed above) can be called |
| 140 // without a FrameState or will be lowered by JSIntrinsicLowering internally. | 140 // without a FrameState or will be lowered by JSIntrinsicLowering internally. |
| 141 const Runtime::Function* const f = Runtime::FunctionForId(function); | 141 const Runtime::Function* const f = Runtime::FunctionForId(function); |
| 142 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false; | 142 if (f->intrinsic_type == Runtime::IntrinsicType::INLINE) return false; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 182 |
| 183 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, | 183 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, |
| 184 const MachineSignature* sig) { | 184 const MachineSignature* sig) { |
| 185 UNIMPLEMENTED(); | 185 UNIMPLEMENTED(); |
| 186 return NULL; | 186 return NULL; |
| 187 } | 187 } |
| 188 #endif // !V8_TURBOFAN_BACKEND | 188 #endif // !V8_TURBOFAN_BACKEND |
| 189 } | 189 } |
| 190 } | 190 } |
| 191 } // namespace v8::internal::compiler | 191 } // namespace v8::internal::compiler |
| OLD | NEW |