| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 case Runtime::kStringCompare: | 170 case Runtime::kStringCompare: |
| 171 case Runtime::kStringEquals: | 171 case Runtime::kStringEquals: |
| 172 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? | 172 case Runtime::kToFastProperties: // TODO(jarin): Is it safe? |
| 173 case Runtime::kTraceEnter: | 173 case Runtime::kTraceEnter: |
| 174 case Runtime::kTraceExit: | 174 case Runtime::kTraceExit: |
| 175 return 0; | 175 return 0; |
| 176 case Runtime::kInlineArguments: | 176 case Runtime::kInlineArguments: |
| 177 case Runtime::kInlineArgumentsLength: | 177 case Runtime::kInlineArgumentsLength: |
| 178 case Runtime::kInlineDefaultConstructorCallSuper: | 178 case Runtime::kInlineDefaultConstructorCallSuper: |
| 179 case Runtime::kInlineGetPrototype: | 179 case Runtime::kInlineGetPrototype: |
| 180 case Runtime::kInlineRegExpConstructResult: |
| 180 case Runtime::kInlineRegExpExec: | 181 case Runtime::kInlineRegExpExec: |
| 181 case Runtime::kInlineSubString: | 182 case Runtime::kInlineSubString: |
| 182 case Runtime::kInlineToInteger: | 183 case Runtime::kInlineToInteger: |
| 183 case Runtime::kInlineToLength: | 184 case Runtime::kInlineToLength: |
| 184 case Runtime::kInlineToName: | 185 case Runtime::kInlineToName: |
| 185 case Runtime::kInlineToNumber: | 186 case Runtime::kInlineToNumber: |
| 186 case Runtime::kInlineToObject: | 187 case Runtime::kInlineToObject: |
| 187 case Runtime::kInlineToPrimitive_Number: | 188 case Runtime::kInlineToPrimitive_Number: |
| 188 case Runtime::kInlineToPrimitive_String: | 189 case Runtime::kInlineToPrimitive_String: |
| 189 case Runtime::kInlineToPrimitive: | 190 case Runtime::kInlineToPrimitive: |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 } else { | 523 } else { |
| 523 DCHECK(loc == regloc(kContextRegister)); | 524 DCHECK(loc == regloc(kContextRegister)); |
| 524 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); | 525 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); |
| 525 } | 526 } |
| 526 } | 527 } |
| 527 | 528 |
| 528 | 529 |
| 529 } // namespace compiler | 530 } // namespace compiler |
| 530 } // namespace internal | 531 } // namespace internal |
| 531 } // namespace v8 | 532 } // namespace v8 |
| OLD | NEW |