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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/code-stubs.h" | 6 #include "src/code-stubs.h" |
7 #include "src/compiler.h" | 7 #include "src/compiler.h" |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/frame.h" | 9 #include "src/compiler/frame.h" |
10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // are blacklisted here and can be called without a FrameState. | 137 // are blacklisted here and can be called without a FrameState. |
138 switch (function) { | 138 switch (function) { |
139 case Runtime::kAbort: | 139 case Runtime::kAbort: |
140 case Runtime::kAllocateInTargetSpace: | 140 case Runtime::kAllocateInTargetSpace: |
141 case Runtime::kCreateIterResultObject: | 141 case Runtime::kCreateIterResultObject: |
142 case Runtime::kDefineDataPropertyInLiteral: | 142 case Runtime::kDefineDataPropertyInLiteral: |
143 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? | 143 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? |
144 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? | 144 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? |
145 case Runtime::kForInDone: | 145 case Runtime::kForInDone: |
146 case Runtime::kForInStep: | 146 case Runtime::kForInStep: |
147 case Runtime::kGeneratorSetContext: | |
148 case Runtime::kGeneratorGetContinuation: | 147 case Runtime::kGeneratorGetContinuation: |
149 case Runtime::kGeneratorSetContinuation: | |
150 case Runtime::kGeneratorLoadRegister: | |
151 case Runtime::kGeneratorStoreRegister: | |
152 case Runtime::kGetSuperConstructor: | 148 case Runtime::kGetSuperConstructor: |
153 case Runtime::kIsFunction: | 149 case Runtime::kIsFunction: |
154 case Runtime::kNewClosure: | 150 case Runtime::kNewClosure: |
155 case Runtime::kNewClosure_Tenured: | 151 case Runtime::kNewClosure_Tenured: |
156 case Runtime::kNewFunctionContext: | 152 case Runtime::kNewFunctionContext: |
157 case Runtime::kPushBlockContext: | 153 case Runtime::kPushBlockContext: |
158 case Runtime::kPushCatchContext: | 154 case Runtime::kPushCatchContext: |
159 case Runtime::kReThrow: | 155 case Runtime::kReThrow: |
160 case Runtime::kStringCompare: | 156 case Runtime::kStringCompare: |
161 case Runtime::kStringEqual: | 157 case Runtime::kStringEqual: |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 } else { | 519 } else { |
524 DCHECK(loc == regloc(kContextRegister)); | 520 DCHECK(loc == regloc(kContextRegister)); |
525 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); | 521 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); |
526 } | 522 } |
527 } | 523 } |
528 | 524 |
529 | 525 |
530 } // namespace compiler | 526 } // namespace compiler |
531 } // namespace internal | 527 } // namespace internal |
532 } // namespace v8 | 528 } // namespace v8 |
OLD | NEW |