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

Unified Diff: test/cctest/test-regexp.cc

Issue 9457: Fix lint issues.... (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
« src/assembler-re2k.h ('K') | « src/regexp-codegen.h ('k') | no next file » | 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 704)
+++ test/cctest/test-regexp.cc (working copy)
@@ -519,8 +519,8 @@
__ CheckChar('o', &advance);
__ LoadCurrentChar(2);
__ CheckChar('o', &advance);
- __ SetCapture(0);
- __ SetCapture(1, 2);
+ __ SetRegister(0);
+ __ SetRegister(1, 2);
__ Succeed();
v8::HandleScope scope;
@@ -528,7 +528,8 @@
assembler.Copy(array->GetDataStartAddress());
int captures[2];
- Handle<String> f1 = Factory::NewStringFromAscii(CStrVector("Now is the time"));
+ Handle<String> f1 =
+ Factory::NewStringFromAscii(CStrVector("Now is the time"));
CHECK(!Re2kInterpreter::Match(*array, *f1, captures, 0));
Handle<String> f2 = Factory::NewStringFromAscii(CStrVector("foo bar baz"));
« src/assembler-re2k.h ('K') | « src/regexp-codegen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698