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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 switch (function) { | 148 switch (function) { |
149 case Runtime::kAllocateInTargetSpace: | 149 case Runtime::kAllocateInTargetSpace: |
150 case Runtime::kCreateIterResultObject: | 150 case Runtime::kCreateIterResultObject: |
151 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? | 151 case Runtime::kDefineClassMethod: // TODO(jarin): Is it safe? |
152 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? | 152 case Runtime::kDefineGetterPropertyUnchecked: // TODO(jarin): Is it safe? |
153 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? | 153 case Runtime::kDefineSetterPropertyUnchecked: // TODO(jarin): Is it safe? |
154 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? | 154 case Runtime::kFinalizeClassDefinition: // TODO(conradw): Is it safe? |
155 case Runtime::kForInDone: | 155 case Runtime::kForInDone: |
156 case Runtime::kForInStep: | 156 case Runtime::kForInStep: |
157 case Runtime::kGetSuperConstructor: | 157 case Runtime::kGetSuperConstructor: |
| 158 case Runtime::kIsFunction: |
158 case Runtime::kNewClosure: | 159 case Runtime::kNewClosure: |
159 case Runtime::kNewClosure_Tenured: | 160 case Runtime::kNewClosure_Tenured: |
160 case Runtime::kNewFunctionContext: | 161 case Runtime::kNewFunctionContext: |
161 case Runtime::kPushBlockContext: | 162 case Runtime::kPushBlockContext: |
162 case Runtime::kPushCatchContext: | 163 case Runtime::kPushCatchContext: |
163 case Runtime::kReThrow: | 164 case Runtime::kReThrow: |
164 case Runtime::kStringCompare: | 165 case Runtime::kStringCompare: |
165 case Runtime::kStringEquals: | 166 case Runtime::kStringEquals: |
166 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 167 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
167 case Runtime::kTraceEnter: | 168 case Runtime::kTraceEnter: |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 } else { | 530 } else { |
530 DCHECK(loc == regloc(kContextRegister)); | 531 DCHECK(loc == regloc(kContextRegister)); |
531 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); | 532 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); |
532 } | 533 } |
533 } | 534 } |
534 | 535 |
535 | 536 |
536 } // namespace compiler | 537 } // namespace compiler |
537 } // namespace internal | 538 } // namespace internal |
538 } // namespace v8 | 539 } // namespace v8 |
OLD | NEW |