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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 case Runtime::kPushBlockContext: | 231 case Runtime::kPushBlockContext: |
232 case Runtime::kPushCatchContext: | 232 case Runtime::kPushCatchContext: |
233 case Runtime::kReThrow: | 233 case Runtime::kReThrow: |
234 case Runtime::kStringCompare: | 234 case Runtime::kStringCompare: |
235 case Runtime::kStringEquals: | 235 case Runtime::kStringEquals: |
236 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 236 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
237 case Runtime::kTraceEnter: | 237 case Runtime::kTraceEnter: |
238 case Runtime::kTraceExit: | 238 case Runtime::kTraceExit: |
239 return 0; | 239 return 0; |
240 case Runtime::kInlineArguments: | 240 case Runtime::kInlineArguments: |
| 241 case Runtime::kInlineArgumentsLength: |
241 case Runtime::kInlineCall: | 242 case Runtime::kInlineCall: |
242 case Runtime::kInlineCallFunction: | 243 case Runtime::kInlineCallFunction: |
243 case Runtime::kInlineDefaultConstructorCallSuper: | 244 case Runtime::kInlineDefaultConstructorCallSuper: |
244 case Runtime::kInlineGetCallerJSFunction: | 245 case Runtime::kInlineGetCallerJSFunction: |
245 case Runtime::kInlineGetPrototype: | 246 case Runtime::kInlineGetPrototype: |
246 case Runtime::kInlineRegExpExec: | 247 case Runtime::kInlineRegExpExec: |
247 case Runtime::kInlineSubString: | 248 case Runtime::kInlineSubString: |
248 case Runtime::kInlineToName: | 249 case Runtime::kInlineToName: |
249 case Runtime::kInlineToNumber: | 250 case Runtime::kInlineToNumber: |
250 case Runtime::kInlineToObject: | 251 case Runtime::kInlineToObject: |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 return LinkageLocation::ForCalleeFrameSlot(spill_index); | 522 return LinkageLocation::ForCalleeFrameSlot(spill_index); |
522 } else { | 523 } else { |
523 // Parameter. Use the assigned location from the incoming call descriptor. | 524 // Parameter. Use the assigned location from the incoming call descriptor. |
524 int parameter_index = 1 + index; // skip index 0, which is the target. | 525 int parameter_index = 1 + index; // skip index 0, which is the target. |
525 return incoming_->GetInputLocation(parameter_index); | 526 return incoming_->GetInputLocation(parameter_index); |
526 } | 527 } |
527 } | 528 } |
528 } // namespace compiler | 529 } // namespace compiler |
529 } // namespace internal | 530 } // namespace internal |
530 } // namespace v8 | 531 } // namespace v8 |
OLD | NEW |