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

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

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/phi-reducer.h ('k') | src/compiler/schedule.h » ('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/compiler/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include "src/base/platform/elapsed-timer.h" 7 #include "src/base/platform/elapsed-timer.h"
8 #include "src/compiler/ast-graph-builder.h" 8 #include "src/compiler/ast-graph-builder.h"
9 #include "src/compiler/change-lowering.h" 9 #include "src/compiler/change-lowering.h"
10 #include "src/compiler/code-generator.h" 10 #include "src/compiler/code-generator.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 SourcePositionTable* source_positions) 122 SourcePositionTable* source_positions)
123 : AstGraphBuilder(info, jsgraph), source_positions_(source_positions) {} 123 : AstGraphBuilder(info, jsgraph), source_positions_(source_positions) {}
124 124
125 bool CreateGraph() { 125 bool CreateGraph() {
126 SourcePositionTable::Scope pos(source_positions_, 126 SourcePositionTable::Scope pos(source_positions_,
127 SourcePosition::Unknown()); 127 SourcePosition::Unknown());
128 return AstGraphBuilder::CreateGraph(); 128 return AstGraphBuilder::CreateGraph();
129 } 129 }
130 130
131 #define DEF_VISIT(type) \ 131 #define DEF_VISIT(type) \
132 virtual void Visit##type(type* node) V8_OVERRIDE { \ 132 virtual void Visit##type(type* node) OVERRIDE { \
133 SourcePositionTable::Scope pos(source_positions_, \ 133 SourcePositionTable::Scope pos(source_positions_, \
134 SourcePosition(node->position())); \ 134 SourcePosition(node->position())); \
135 AstGraphBuilder::Visit##type(node); \ 135 AstGraphBuilder::Visit##type(node); \
136 } 136 }
137 AST_NODE_LIST(DEF_VISIT) 137 AST_NODE_LIST(DEF_VISIT)
138 #undef DEF_VISIT 138 #undef DEF_VISIT
139 139
140 private: 140 private:
141 SourcePositionTable* source_positions_; 141 SourcePositionTable* source_positions_;
142 }; 142 };
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 } 397 }
398 398
399 399
400 void Pipeline::TearDown() { 400 void Pipeline::TearDown() {
401 InstructionOperand::TearDownCaches(); 401 InstructionOperand::TearDownCaches();
402 } 402 }
403 403
404 } // namespace compiler 404 } // namespace compiler
405 } // namespace internal 405 } // namespace internal
406 } // namespace v8 406 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/phi-reducer.h ('k') | src/compiler/schedule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698