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

Side by Side Diff: src/prettyprinter.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/prettyprinter.h ('k') | src/property.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 <stdarg.h> 5 #include <stdarg.h>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/ast-value-factory.h" 9 #include "src/ast-value-factory.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 IndentedScope indent(this, "TRY CATCH"); 1374 IndentedScope indent(this, "TRY CATCH");
1375 PrintIndentedVisit("TRY", node->try_block()); 1375 PrintIndentedVisit("TRY", node->try_block());
1376 PrintLiteralWithModeIndented("CATCHVAR", 1376 PrintLiteralWithModeIndented("CATCHVAR",
1377 node->variable(), 1377 node->variable(),
1378 node->variable()->name()); 1378 node->variable()->name());
1379 PrintIndentedVisit("CATCH", node->catch_block()); 1379 PrintIndentedVisit("CATCH", node->catch_block());
1380 } 1380 }
1381 1381
1382 1382
1383 void AstPrinter::VisitTryFinallyStatement(TryFinallyStatement* node) { 1383 void AstPrinter::VisitTryFinallyStatement(TryFinallyStatement* node) {
1384 IndentedScope indent(this, "TRY FINALLY"); 1384 IndentedScope indent(this, "TRY finalLY");
1385 PrintIndentedVisit("TRY", node->try_block()); 1385 PrintIndentedVisit("TRY", node->try_block());
1386 PrintIndentedVisit("FINALLY", node->finally_block()); 1386 PrintIndentedVisit("FINALLY", node->finally_block());
1387 } 1387 }
1388 1388
1389 1389
1390 void AstPrinter::VisitDebuggerStatement(DebuggerStatement* node) { 1390 void AstPrinter::VisitDebuggerStatement(DebuggerStatement* node) {
1391 IndentedScope indent(this, "DEBUGGER"); 1391 IndentedScope indent(this, "DEBUGGER");
1392 } 1392 }
1393 1393
1394 1394
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 } 1598 }
1599 1599
1600 1600
1601 void AstPrinter::VisitSuperReference(SuperReference* node) { 1601 void AstPrinter::VisitSuperReference(SuperReference* node) {
1602 IndentedScope indent(this, "SUPER-REFERENCE"); 1602 IndentedScope indent(this, "SUPER-REFERENCE");
1603 } 1603 }
1604 1604
1605 #endif // DEBUG 1605 #endif // DEBUG
1606 1606
1607 } } // namespace v8::internal 1607 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/prettyprinter.h ('k') | src/property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698