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/common-operator.h" | 7 #include "src/compiler/common-operator.h" |
8 #include "src/compiler/linkage.h" | 8 #include "src/compiler/linkage.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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 212 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
213 case Runtime::kTraceEnter: | 213 case Runtime::kTraceEnter: |
214 case Runtime::kTraceExit: | 214 case Runtime::kTraceExit: |
215 return 0; | 215 return 0; |
216 case Runtime::kInlineArguments: | 216 case Runtime::kInlineArguments: |
217 case Runtime::kInlineCallFunction: | 217 case Runtime::kInlineCallFunction: |
218 case Runtime::kInlineDefaultConstructorCallSuper: | 218 case Runtime::kInlineDefaultConstructorCallSuper: |
219 case Runtime::kInlineGetCallerJSFunction: | 219 case Runtime::kInlineGetCallerJSFunction: |
220 case Runtime::kInlineGetPrototype: | 220 case Runtime::kInlineGetPrototype: |
221 case Runtime::kInlineRegExpExec: | 221 case Runtime::kInlineRegExpExec: |
| 222 case Runtime::kInlineToObject: |
222 return 1; | 223 return 1; |
223 case Runtime::kInlineDeoptimizeNow: | 224 case Runtime::kInlineDeoptimizeNow: |
224 case Runtime::kInlineThrowNotDateError: | 225 case Runtime::kInlineThrowNotDateError: |
225 return 2; | 226 return 2; |
226 default: | 227 default: |
227 break; | 228 break; |
228 } | 229 } |
229 | 230 |
230 // Most inlined runtime functions (except the ones listed above) can be called | 231 // Most inlined runtime functions (except the ones listed above) can be called |
231 // without a FrameState or will be lowered by JSIntrinsicLowering internally. | 232 // without a FrameState or will be lowered by JSIntrinsicLowering internally. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 Operator::Properties properties, MachineType return_type) { | 280 Operator::Properties properties, MachineType return_type) { |
280 UNIMPLEMENTED(); | 281 UNIMPLEMENTED(); |
281 return NULL; | 282 return NULL; |
282 } | 283 } |
283 | 284 |
284 | 285 |
285 #endif // !V8_TURBOFAN_BACKEND | 286 #endif // !V8_TURBOFAN_BACKEND |
286 } // namespace compiler | 287 } // namespace compiler |
287 } // namespace internal | 288 } // namespace internal |
288 } // namespace v8 | 289 } // namespace v8 |
OLD | NEW |