| 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 19 matching lines...) Expand all Loading... |
| 30 os << "InterpreterDispatch"; | 30 os << "InterpreterDispatch"; |
| 31 break; | 31 break; |
| 32 } | 32 } |
| 33 return os; | 33 return os; |
| 34 } | 34 } |
| 35 | 35 |
| 36 | 36 |
| 37 std::ostream& operator<<(std::ostream& os, const CallDescriptor& d) { | 37 std::ostream& operator<<(std::ostream& os, const CallDescriptor& d) { |
| 38 // TODO(svenpanne) Output properties etc. and be less cryptic. | 38 // TODO(svenpanne) Output properties etc. and be less cryptic. |
| 39 return os << d.kind() << ":" << d.debug_name() << ":r" << d.ReturnCount() | 39 return os << d.kind() << ":" << d.debug_name() << ":r" << d.ReturnCount() |
| 40 << "j" << d.JSParameterCount() << "i" << d.InputCount() << "f" | 40 << "s" << d.StackParameterCount() << "i" << d.InputCount() << "f" |
| 41 << d.FrameStateCount() << "t" << d.SupportsTailCalls(); | 41 << d.FrameStateCount() << "t" << d.SupportsTailCalls(); |
| 42 } | 42 } |
| 43 | 43 |
| 44 | 44 |
| 45 bool CallDescriptor::HasSameReturnLocationsAs( | 45 bool CallDescriptor::HasSameReturnLocationsAs( |
| 46 const CallDescriptor* other) const { | 46 const CallDescriptor* other) const { |
| 47 if (ReturnCount() != other->ReturnCount()) return false; | 47 if (ReturnCount() != other->ReturnCount()) return false; |
| 48 for (size_t i = 0; i < ReturnCount(); ++i) { | 48 for (size_t i = 0; i < ReturnCount(); ++i) { |
| 49 if (GetReturnLocation(i) != other->GetReturnLocation(i)) return false; | 49 if (GetReturnLocation(i) != other->GetReturnLocation(i)) return false; |
| 50 } | 50 } |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 Operator::Properties properties, MachineType return_type) { | 280 Operator::Properties properties, MachineType return_type) { |
| 281 UNIMPLEMENTED(); | 281 UNIMPLEMENTED(); |
| 282 return NULL; | 282 return NULL; |
| 283 } | 283 } |
| 284 | 284 |
| 285 | 285 |
| 286 #endif // !V8_TURBOFAN_BACKEND | 286 #endif // !V8_TURBOFAN_BACKEND |
| 287 } // namespace compiler | 287 } // namespace compiler |
| 288 } // namespace internal | 288 } // namespace internal |
| 289 } // namespace v8 | 289 } // namespace v8 |
| OLD | NEW |