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

Side by Side Diff: src/compiler/graph-visualizer.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/graph-reducer.h ('k') | src/compiler/ia32/code-generator-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/graph-visualizer.h" 5 #include "src/compiler/graph-visualizer.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 #include <string> 8 #include <string>
9 9
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 void PrintIntProperty(const char* name, int value); 417 void PrintIntProperty(const char* name, int value);
418 void PrintBlockProperty(const char* name, int rpo_number); 418 void PrintBlockProperty(const char* name, int rpo_number);
419 void PrintNodeId(Node* n); 419 void PrintNodeId(Node* n);
420 void PrintNode(Node* n); 420 void PrintNode(Node* n);
421 void PrintInputs(Node* n); 421 void PrintInputs(Node* n);
422 template <typename InputIterator> 422 template <typename InputIterator>
423 void PrintInputs(InputIterator* i, int count, const char* prefix); 423 void PrintInputs(InputIterator* i, int count, const char* prefix);
424 void PrintType(Node* node); 424 void PrintType(Node* node);
425 425
426 void PrintLiveRange(LiveRange* range, const char* type); 426 void PrintLiveRange(LiveRange* range, const char* type);
427 class Tag FINAL BASE_EMBEDDED { 427 class Tag final BASE_EMBEDDED {
428 public: 428 public:
429 Tag(GraphC1Visualizer* visualizer, const char* name) { 429 Tag(GraphC1Visualizer* visualizer, const char* name) {
430 name_ = name; 430 name_ = name;
431 visualizer_ = visualizer; 431 visualizer_ = visualizer;
432 visualizer->PrintIndent(); 432 visualizer->PrintIndent();
433 visualizer_->os_ << "begin_" << name << "\n"; 433 visualizer_->os_ << "begin_" << name << "\n";
434 visualizer->indent_++; 434 visualizer->indent_++;
435 } 435 }
436 436
437 ~Tag() { 437 ~Tag() {
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 os << "#" << SafeId(i) << ":" << SafeMnemonic(i); 829 os << "#" << SafeId(i) << ":" << SafeMnemonic(i);
830 } 830 }
831 os << ")" << std::endl; 831 os << ")" << std::endl;
832 } 832 }
833 } 833 }
834 return os; 834 return os;
835 } 835 }
836 } 836 }
837 } 837 }
838 } // namespace v8::internal::compiler 838 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/graph-reducer.h ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698