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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::kStringEqual: | 163 case Runtime::kStringEqual: |
164 case Runtime::kStringNotEqual: | 164 case Runtime::kStringNotEqual: |
165 case Runtime::kStringLessThan: | 165 case Runtime::kStringLessThan: |
166 case Runtime::kStringLessThanOrEqual: | 166 case Runtime::kStringLessThanOrEqual: |
167 case Runtime::kStringGreaterThan: | 167 case Runtime::kStringGreaterThan: |
168 case Runtime::kStringGreaterThanOrEqual: | 168 case Runtime::kStringGreaterThanOrEqual: |
169 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | |
170 case Runtime::kTraceEnter: | 169 case Runtime::kTraceEnter: |
171 case Runtime::kTraceExit: | 170 case Runtime::kTraceExit: |
172 return 0; | 171 return 0; |
173 case Runtime::kInlineGetPrototype: | 172 case Runtime::kInlineGetPrototype: |
174 case Runtime::kInlineRegExpConstructResult: | 173 case Runtime::kInlineRegExpConstructResult: |
175 case Runtime::kInlineRegExpExec: | 174 case Runtime::kInlineRegExpExec: |
176 case Runtime::kInlineSubString: | 175 case Runtime::kInlineSubString: |
177 case Runtime::kInlineToInteger: | 176 case Runtime::kInlineToInteger: |
178 case Runtime::kInlineToLength: | 177 case Runtime::kInlineToLength: |
179 case Runtime::kInlineToName: | 178 case Runtime::kInlineToName: |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 } else { | 451 } else { |
453 DCHECK(loc == regloc(kContextRegister)); | 452 DCHECK(loc == regloc(kContextRegister)); |
454 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); | 453 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); |
455 } | 454 } |
456 } | 455 } |
457 | 456 |
458 | 457 |
459 } // namespace compiler | 458 } // namespace compiler |
460 } // namespace internal | 459 } // namespace internal |
461 } // namespace v8 | 460 } // namespace v8 |
OLD | NEW |