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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 case Runtime::kForInStep: | 153 case Runtime::kForInStep: |
154 case Runtime::kGetSuperConstructor: | 154 case Runtime::kGetSuperConstructor: |
155 case Runtime::kIsFunction: | 155 case Runtime::kIsFunction: |
156 case Runtime::kNewClosure: | 156 case Runtime::kNewClosure: |
157 case Runtime::kNewClosure_Tenured: | 157 case Runtime::kNewClosure_Tenured: |
158 case Runtime::kNewFunctionContext: | 158 case Runtime::kNewFunctionContext: |
159 case Runtime::kPushBlockContext: | 159 case Runtime::kPushBlockContext: |
160 case Runtime::kPushCatchContext: | 160 case Runtime::kPushCatchContext: |
161 case Runtime::kReThrow: | 161 case Runtime::kReThrow: |
162 case Runtime::kStringCompare: | 162 case Runtime::kStringCompare: |
163 case Runtime::kStringEquals: | 163 case Runtime::kStringEqual: |
164 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 164 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
165 case Runtime::kTraceEnter: | 165 case Runtime::kTraceEnter: |
166 case Runtime::kTraceExit: | 166 case Runtime::kTraceExit: |
167 return 0; | 167 return 0; |
168 case Runtime::kInlineGetPrototype: | 168 case Runtime::kInlineGetPrototype: |
169 case Runtime::kInlineRegExpConstructResult: | 169 case Runtime::kInlineRegExpConstructResult: |
170 case Runtime::kInlineRegExpExec: | 170 case Runtime::kInlineRegExpExec: |
171 case Runtime::kInlineSubString: | 171 case Runtime::kInlineSubString: |
172 case Runtime::kInlineToInteger: | 172 case Runtime::kInlineToInteger: |
173 case Runtime::kInlineToLength: | 173 case Runtime::kInlineToLength: |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 } else { | 446 } else { |
447 DCHECK(loc == regloc(kContextRegister)); | 447 DCHECK(loc == regloc(kContextRegister)); |
448 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); | 448 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); |
449 } | 449 } |
450 } | 450 } |
451 | 451 |
452 | 452 |
453 } // namespace compiler | 453 } // namespace compiler |
454 } // namespace internal | 454 } // namespace internal |
455 } // namespace v8 | 455 } // namespace v8 |
OLD | NEW |