| 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/frame.h" | 8 #include "src/compiler/frame.h" |
| 9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
| 10 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 return 0; | 239 return 0; |
| 240 case Runtime::kInlineArguments: | 240 case Runtime::kInlineArguments: |
| 241 case Runtime::kInlineArgumentsLength: | 241 case Runtime::kInlineArgumentsLength: |
| 242 case Runtime::kInlineCall: | 242 case Runtime::kInlineCall: |
| 243 case Runtime::kInlineCallFunction: | 243 case Runtime::kInlineCallFunction: |
| 244 case Runtime::kInlineDefaultConstructorCallSuper: | 244 case Runtime::kInlineDefaultConstructorCallSuper: |
| 245 case Runtime::kInlineGetCallerJSFunction: | 245 case Runtime::kInlineGetCallerJSFunction: |
| 246 case Runtime::kInlineGetPrototype: | 246 case Runtime::kInlineGetPrototype: |
| 247 case Runtime::kInlineRegExpExec: | 247 case Runtime::kInlineRegExpExec: |
| 248 case Runtime::kInlineSubString: | 248 case Runtime::kInlineSubString: |
| 249 case Runtime::kInlineToInteger: |
| 250 case Runtime::kInlineToLength: |
| 249 case Runtime::kInlineToName: | 251 case Runtime::kInlineToName: |
| 250 case Runtime::kInlineToNumber: | 252 case Runtime::kInlineToNumber: |
| 251 case Runtime::kInlineToObject: | 253 case Runtime::kInlineToObject: |
| 252 case Runtime::kInlineToPrimitive_Number: | 254 case Runtime::kInlineToPrimitive_Number: |
| 253 case Runtime::kInlineToPrimitive_String: | 255 case Runtime::kInlineToPrimitive_String: |
| 254 case Runtime::kInlineToPrimitive: | 256 case Runtime::kInlineToPrimitive: |
| 255 case Runtime::kInlineToString: | 257 case Runtime::kInlineToString: |
| 256 return 1; | 258 return 1; |
| 257 case Runtime::kInlineDeoptimizeNow: | 259 case Runtime::kInlineDeoptimizeNow: |
| 258 case Runtime::kInlineThrowNotDateError: | 260 case Runtime::kInlineThrowNotDateError: |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 return LinkageLocation::ForCalleeFrameSlot(spill_index); | 525 return LinkageLocation::ForCalleeFrameSlot(spill_index); |
| 524 } else { | 526 } else { |
| 525 // Parameter. Use the assigned location from the incoming call descriptor. | 527 // Parameter. Use the assigned location from the incoming call descriptor. |
| 526 int parameter_index = 1 + index; // skip index 0, which is the target. | 528 int parameter_index = 1 + index; // skip index 0, which is the target. |
| 527 return incoming_->GetInputLocation(parameter_index); | 529 return incoming_->GetInputLocation(parameter_index); |
| 528 } | 530 } |
| 529 } | 531 } |
| 530 } // namespace compiler | 532 } // namespace compiler |
| 531 } // namespace internal | 533 } // namespace internal |
| 532 } // namespace v8 | 534 } // namespace v8 |
| OLD | NEW |