Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: src/compiler/osr.cc

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/compiler.h" 6 #include "src/compiler.h"
6 #include "src/compiler/all-nodes.h" 7 #include "src/compiler/all-nodes.h"
7 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
8 #include "src/compiler/common-operator-reducer.h" 9 #include "src/compiler/common-operator-reducer.h"
9 #include "src/compiler/dead-code-elimination.h" 10 #include "src/compiler/dead-code-elimination.h"
10 #include "src/compiler/frame.h" 11 #include "src/compiler/frame.h"
11 #include "src/compiler/graph.h" 12 #include "src/compiler/graph.h"
12 #include "src/compiler/graph-reducer.h" 13 #include "src/compiler/graph-reducer.h"
13 #include "src/compiler/graph-trimmer.h" 14 #include "src/compiler/graph-trimmer.h"
14 #include "src/compiler/graph-visualizer.h" 15 #include "src/compiler/graph-visualizer.h"
15 #include "src/compiler/js-graph.h" 16 #include "src/compiler/js-graph.h"
16 #include "src/compiler/loop-analysis.h" 17 #include "src/compiler/loop-analysis.h"
17 #include "src/compiler/node.h" 18 #include "src/compiler/node.h"
18 #include "src/compiler/node-marker.h" 19 #include "src/compiler/node-marker.h"
19 #include "src/compiler/osr.h" 20 #include "src/compiler/osr.h"
20 #include "src/scopes.h"
21 21
22 namespace v8 { 22 namespace v8 {
23 namespace internal { 23 namespace internal {
24 namespace compiler { 24 namespace compiler {
25 25
26 OsrHelper::OsrHelper(CompilationInfo* info) 26 OsrHelper::OsrHelper(CompilationInfo* info)
27 : parameter_count_(info->scope()->num_parameters()), 27 : parameter_count_(info->scope()->num_parameters()),
28 stack_slot_count_(info->scope()->num_stack_slots() + 28 stack_slot_count_(info->scope()->num_stack_slots() +
29 info->osr_expr_stack_height()) {} 29 info->osr_expr_stack_height()) {}
30 30
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 void OsrHelper::SetupFrame(Frame* frame) { 329 void OsrHelper::SetupFrame(Frame* frame) {
330 // The optimized frame will subsume the unoptimized frame. Do so by reserving 330 // The optimized frame will subsume the unoptimized frame. Do so by reserving
331 // the first spill slots. 331 // the first spill slots.
332 frame->ReserveSpillSlots(UnoptimizedFrameSlots()); 332 frame->ReserveSpillSlots(UnoptimizedFrameSlots());
333 } 333 }
334 334
335 } // namespace compiler 335 } // namespace compiler
336 } // namespace internal 336 } // namespace internal
337 } // namespace v8 337 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698