Index: test/cctest/test-regexp.cc |
=================================================================== |
--- test/cctest/test-regexp.cc (revision 11190) |
+++ test/cctest/test-regexp.cc (working copy) |
@@ -504,7 +504,10 @@ |
return NULL; |
Handle<String> pattern = isolate->factory()-> |
NewStringFromUtf8(CStrVector(input)); |
- RegExpEngine::Compile(&compile_data, false, multiline, pattern, is_ascii); |
+ Handle<String> sample_subject = |
+ isolate->factory()->NewStringFromUtf8(CStrVector("")); |
+ RegExpEngine::Compile( |
+ &compile_data, false, multiline, pattern, sample_subject, is_ascii); |
return compile_data.node; |
} |