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

Unified Diff: src/preparser.cc

Issue 159653005: Not for committing. Proof that NaCl stuff is insane. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: moar Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/preparser.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/preparser.cc
diff --git a/src/preparser.cc b/src/preparser.cc
index 3c184901aeab37220334305898214abe542ea0b3..7af1f3050a069b047e3154a54ca9aebb55b60118 100644
--- a/src/preparser.cc
+++ b/src/preparser.cc
@@ -73,18 +73,22 @@ int PreParserTraits::NextMaterializedLiteralIndex() {
void PreParserTraits::ReportMessageAt(Scanner::Location location,
const char* message,
Vector<const char*> args) {
+ fprintf(stderr, "PreParserTraits::ReportMessageAt\n");
ReportMessageAt(location.beg_pos,
location.end_pos,
message,
args.length() > 0 ? args[0] : NULL);
+ fprintf(stderr, "PreParserTraits::ReportMessageAt returns\n");
}
void PreParserTraits::ReportMessageAt(Scanner::Location location,
const char* type,
const char* name_opt) {
+ fprintf(stderr, "PreParserTraits::ReportMessageAtB\n");
pre_parser_->log_
->LogMessage(location.beg_pos, location.end_pos, type, name_opt);
+ fprintf(stderr, "PreParserTraits::ReportMessageAtB returns\n");
}
@@ -92,7 +96,9 @@ void PreParserTraits::ReportMessageAt(int start_pos,
int end_pos,
const char* type,
const char* name_opt) {
+ fprintf(stderr, "PreParserTraits::ReportMessageAtC\n");
pre_parser_->log_->LogMessage(start_pos, end_pos, type, name_opt);
+ fprintf(stderr, "PreParserTraits::ReportMessageAtC returns\n");
}
« no previous file with comments | « src/preparser.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698