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

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

Issue 797943002: Consistently use only one of virtual/OVERRIDE/FINAL. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed temporary hack. Created 6 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/operator.h ('k') | src/compiler/simplified-operator-reducer.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 <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 : AstGraphBuilder(local_zone, info, jsgraph, loop_assignment), 295 : AstGraphBuilder(local_zone, info, jsgraph, loop_assignment),
296 source_positions_(source_positions) {} 296 source_positions_(source_positions) {}
297 297
298 bool CreateGraph() { 298 bool CreateGraph() {
299 SourcePositionTable::Scope pos(source_positions_, 299 SourcePositionTable::Scope pos(source_positions_,
300 SourcePosition::Unknown()); 300 SourcePosition::Unknown());
301 return AstGraphBuilder::CreateGraph(); 301 return AstGraphBuilder::CreateGraph();
302 } 302 }
303 303
304 #define DEF_VISIT(type) \ 304 #define DEF_VISIT(type) \
305 virtual void Visit##type(type* node) OVERRIDE { \ 305 void Visit##type(type* node) OVERRIDE { \
306 SourcePositionTable::Scope pos(source_positions_, \ 306 SourcePositionTable::Scope pos(source_positions_, \
307 SourcePosition(node->position())); \ 307 SourcePosition(node->position())); \
308 AstGraphBuilder::Visit##type(node); \ 308 AstGraphBuilder::Visit##type(node); \
309 } 309 }
310 AST_NODE_LIST(DEF_VISIT) 310 AST_NODE_LIST(DEF_VISIT)
311 #undef DEF_VISIT 311 #undef DEF_VISIT
312 312
313 Node* GetFunctionContext() { return AstGraphBuilder::GetFunctionContext(); } 313 Node* GetFunctionContext() { return AstGraphBuilder::GetFunctionContext(); }
314 314
315 private: 315 private:
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 } 1075 }
1076 1076
1077 1077
1078 void Pipeline::TearDown() { 1078 void Pipeline::TearDown() {
1079 InstructionOperand::TearDownCaches(); 1079 InstructionOperand::TearDownCaches();
1080 } 1080 }
1081 1081
1082 } // namespace compiler 1082 } // namespace compiler
1083 } // namespace internal 1083 } // namespace internal
1084 } // namespace v8 1084 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/operator.h ('k') | src/compiler/simplified-operator-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698