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

Unified Diff: src/log.cc

Issue 10693: Merged bleeding_edge -r 685:746 into regexp2000. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: Created 12 years, 1 month 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/log.h ('k') | src/macro-assembler-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.cc
===================================================================
--- src/log.cc (revision 746)
+++ src/log.cc (working copy)
@@ -431,8 +431,7 @@
LogRegExpSource(regexp);
fprintf(logfile_, ",");
LogString(input_string);
- StringShape shape(*input_string);
- fprintf(logfile_, ",%d..%d\n", start_index, input_string->length(shape));
+ fprintf(logfile_, ",%d..%d\n", start_index, input_string->length());
#endif
}
@@ -729,7 +728,7 @@
stream.Put(*p);
}
}
- SmartPointer<char> expanded = stream.ToCString();
+ SmartPointer<const char> expanded = stream.ToCString();
logfile_ = OS::FOpen(*expanded, "w");
} else {
logfile_ = OS::FOpen(FLAG_logfile, "w");
« no previous file with comments | « src/log.h ('k') | src/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698