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

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

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/compiler/operator-properties.h ('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/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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 js_type_feedback), 342 js_type_feedback),
343 source_positions_(source_positions), 343 source_positions_(source_positions),
344 start_position_(info->shared_info()->start_position()) {} 344 start_position_(info->shared_info()->start_position()) {}
345 345
346 bool CreateGraph(bool constant_context, bool stack_check) { 346 bool CreateGraph(bool constant_context, bool stack_check) {
347 SourcePositionTable::Scope pos_scope(source_positions_, start_position_); 347 SourcePositionTable::Scope pos_scope(source_positions_, start_position_);
348 return AstGraphBuilder::CreateGraph(constant_context, stack_check); 348 return AstGraphBuilder::CreateGraph(constant_context, stack_check);
349 } 349 }
350 350
351 #define DEF_VISIT(type) \ 351 #define DEF_VISIT(type) \
352 void Visit##type(type* node) OVERRIDE { \ 352 void Visit##type(type* node) override { \
353 SourcePositionTable::Scope pos(source_positions_, \ 353 SourcePositionTable::Scope pos(source_positions_, \
354 SourcePosition(node->position())); \ 354 SourcePosition(node->position())); \
355 AstGraphBuilder::Visit##type(node); \ 355 AstGraphBuilder::Visit##type(node); \
356 } 356 }
357 AST_NODE_LIST(DEF_VISIT) 357 AST_NODE_LIST(DEF_VISIT)
358 #undef DEF_VISIT 358 #undef DEF_VISIT
359 359
360 private: 360 private:
361 SourcePositionTable* source_positions_; 361 SourcePositionTable* source_positions_;
362 SourcePosition start_position_; 362 SourcePosition start_position_;
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 1262
1263 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) { 1263 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) {
1264 TurboCfgFile tcf(data->isolate()); 1264 TurboCfgFile tcf(data->isolate());
1265 tcf << AsC1VAllocator("CodeGen", data->register_allocator()); 1265 tcf << AsC1VAllocator("CodeGen", data->register_allocator());
1266 } 1266 }
1267 } 1267 }
1268 1268
1269 } // namespace compiler 1269 } // namespace compiler
1270 } // namespace internal 1270 } // namespace internal
1271 } // namespace v8 1271 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/operator-properties.h ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698