| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // are blacklisted here and can be called without a FrameState. | 220 // are blacklisted here and can be called without a FrameState. |
| 221 switch (function) { | 221 switch (function) { |
| 222 case Runtime::kAllocateInTargetSpace: | 222 case Runtime::kAllocateInTargetSpace: |
| 223 case Runtime::kDateField: | 223 case Runtime::kDateField: |
| 224 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? | 224 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? |
| 225 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? | 225 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? |
| 226 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? | 226 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? |
| 227 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? | 227 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? |
| 228 case Runtime::kForInDone: | 228 case Runtime::kForInDone: |
| 229 case Runtime::kForInStep: | 229 case Runtime::kForInStep: |
| 230 case Runtime::kGetOriginalConstructor: | |
| 231 case Runtime::kNewClosure: | 230 case Runtime::kNewClosure: |
| 232 case Runtime::kNewClosure_Tenured: | 231 case Runtime::kNewClosure_Tenured: |
| 233 case Runtime::kNewFunctionContext: | 232 case Runtime::kNewFunctionContext: |
| 234 case Runtime::kPushBlockContext: | 233 case Runtime::kPushBlockContext: |
| 235 case Runtime::kPushCatchContext: | 234 case Runtime::kPushCatchContext: |
| 236 case Runtime::kReThrow: | 235 case Runtime::kReThrow: |
| 237 case Runtime::kStringCompare: | 236 case Runtime::kStringCompare: |
| 238 case Runtime::kStringEquals: | 237 case Runtime::kStringEquals: |
| 239 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 238 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
| 240 case Runtime::kTraceEnter: | 239 case Runtime::kTraceEnter: |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 return LinkageLocation::ForCalleeFrameSlot(spill_index); | 554 return LinkageLocation::ForCalleeFrameSlot(spill_index); |
| 556 } else { | 555 } else { |
| 557 // Parameter. Use the assigned location from the incoming call descriptor. | 556 // Parameter. Use the assigned location from the incoming call descriptor. |
| 558 int parameter_index = 1 + index; // skip index 0, which is the target. | 557 int parameter_index = 1 + index; // skip index 0, which is the target. |
| 559 return incoming_->GetInputLocation(parameter_index); | 558 return incoming_->GetInputLocation(parameter_index); |
| 560 } | 559 } |
| 561 } | 560 } |
| 562 } // namespace compiler | 561 } // namespace compiler |
| 563 } // namespace internal | 562 } // namespace internal |
| 564 } // namespace v8 | 563 } // namespace v8 |
| OLD | NEW |