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/code-stubs.h" | 6 #include "src/code-stubs.h" |
6 #include "src/compiler.h" | 7 #include "src/compiler.h" |
7 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
8 #include "src/compiler/frame.h" | 9 #include "src/compiler/frame.h" |
9 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
10 #include "src/compiler/node.h" | 11 #include "src/compiler/node.h" |
11 #include "src/compiler/osr.h" | 12 #include "src/compiler/osr.h" |
12 #include "src/compiler/pipeline.h" | 13 #include "src/compiler/pipeline.h" |
13 #include "src/scopes.h" | |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 namespace compiler { | 17 namespace compiler { |
18 | 18 |
19 namespace { | 19 namespace { |
20 LinkageLocation regloc(Register reg) { | 20 LinkageLocation regloc(Register reg) { |
21 return LinkageLocation::ForRegister(reg.code()); | 21 return LinkageLocation::ForRegister(reg.code()); |
22 } | 22 } |
23 | 23 |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 } else { | 524 } else { |
525 DCHECK(loc == regloc(kContextRegister)); | 525 DCHECK(loc == regloc(kContextRegister)); |
526 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); | 526 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot); |
527 } | 527 } |
528 } | 528 } |
529 | 529 |
530 | 530 |
531 } // namespace compiler | 531 } // namespace compiler |
532 } // namespace internal | 532 } // namespace internal |
533 } // namespace v8 | 533 } // namespace v8 |
OLD | NEW |