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/compiler/linkage.h" | 5 #include "src/compiler/linkage.h" |
6 | 6 |
7 #include "src/assembler-inl.h" | 7 #include "src/assembler-inl.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // Most runtime functions need a FrameState. A few chosen ones that we know | 143 // Most runtime functions need a FrameState. A few chosen ones that we know |
144 // not to call into arbitrary JavaScript, not to throw, and not to lazily | 144 // not to call into arbitrary JavaScript, not to throw, and not to lazily |
145 // deoptimize are whitelisted here and can be called without a FrameState. | 145 // deoptimize are whitelisted here and can be called without a FrameState. |
146 case Runtime::kAbort: | 146 case Runtime::kAbort: |
147 case Runtime::kAllocateInTargetSpace: | 147 case Runtime::kAllocateInTargetSpace: |
148 case Runtime::kConvertReceiver: | 148 case Runtime::kConvertReceiver: |
149 case Runtime::kCreateIterResultObject: | 149 case Runtime::kCreateIterResultObject: |
150 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? | 150 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? |
151 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? | 151 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? |
152 case Runtime::kGeneratorGetContinuation: | 152 case Runtime::kGeneratorGetContinuation: |
| 153 case Runtime::kIncBlockCounter: |
153 case Runtime::kIsFunction: | 154 case Runtime::kIsFunction: |
154 case Runtime::kNewClosure: | 155 case Runtime::kNewClosure: |
155 case Runtime::kNewClosure_Tenured: | 156 case Runtime::kNewClosure_Tenured: |
156 case Runtime::kNewFunctionContext: | 157 case Runtime::kNewFunctionContext: |
157 case Runtime::kPushBlockContext: | 158 case Runtime::kPushBlockContext: |
158 case Runtime::kPushCatchContext: | 159 case Runtime::kPushCatchContext: |
159 case Runtime::kReThrow: | 160 case Runtime::kReThrow: |
160 case Runtime::kStringCompare: | 161 case Runtime::kStringCompare: |
161 case Runtime::kStringEqual: | 162 case Runtime::kStringEqual: |
162 case Runtime::kStringNotEqual: | 163 case Runtime::kStringNotEqual: |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); | 513 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); |
513 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, | 514 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, |
514 MachineType::AnyTagged()); | 515 MachineType::AnyTagged()); |
515 } | 516 } |
516 } | 517 } |
517 | 518 |
518 | 519 |
519 } // namespace compiler | 520 } // namespace compiler |
520 } // namespace internal | 521 } // namespace internal |
521 } // namespace v8 | 522 } // namespace v8 |
OLD | NEW |