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

Unified Diff: test/cctest/test-regexp.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 | « test/cctest/test-flags.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-regexp.cc
===================================================================
--- test/cctest/test-regexp.cc (revision 746)
+++ test/cctest/test-regexp.cc (working copy)
@@ -45,7 +45,7 @@
using namespace v8::internal;
-static SmartPointer<char> Parse(const char* input) {
+static SmartPointer<const char> Parse(const char* input) {
v8::HandleScope scope;
unibrow::Utf8InputBuffer<> buffer(input, strlen(input));
ZoneScope zone_scope(DELETE_ON_EXIT);
@@ -53,7 +53,7 @@
CHECK(v8::internal::ParseRegExp(&buffer, &result));
CHECK(result.tree != NULL);
CHECK(result.error.is_null());
- SmartPointer<char> output = result.tree->ToString();
+ SmartPointer<const char> output = result.tree->ToString();
return output;
}
« no previous file with comments | « test/cctest/test-flags.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698