| Index: test/cctest/test-regexp.cc
|
| diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc
|
| index 558003f79e7a17051c180cd01ac9270112377e26..8be425e4f43da9b8831acfaf7700dc3d8c3ea409 100644
|
| --- a/test/cctest/test-regexp.cc
|
| +++ b/test/cctest/test-regexp.cc
|
| @@ -51,6 +51,7 @@ using namespace v8::internal;
|
|
|
|
|
| static SmartPointer<const char> Parse(const char* input) {
|
| + V8::Initialize(NULL);
|
| v8::HandleScope scope;
|
| ZoneScope zone_scope(DELETE_ON_EXIT);
|
| FlatStringReader reader(CStrVector(input));
|
| @@ -63,6 +64,7 @@ static SmartPointer<const char> Parse(const char* input) {
|
| }
|
|
|
| static bool ParseEscapes(const char* input) {
|
| + V8::Initialize(NULL);
|
| v8::HandleScope scope;
|
| unibrow::Utf8InputBuffer<> buffer(input, strlen(input));
|
| ZoneScope zone_scope(DELETE_ON_EXIT);
|
| @@ -253,6 +255,7 @@ TEST(ParserRegression) {
|
|
|
| static void ExpectError(const char* input,
|
| const char* expected) {
|
| + V8::Initialize(NULL);
|
| v8::HandleScope scope;
|
| ZoneScope zone_scope(DELETE_ON_EXIT);
|
| FlatStringReader reader(CStrVector(input));
|
| @@ -372,6 +375,7 @@ TEST(CharacterClassEscapes) {
|
|
|
|
|
| static RegExpNode* Compile(const char* input, bool multiline) {
|
| + V8::Initialize(NULL);
|
| FlatStringReader reader(CStrVector(input));
|
| RegExpParseResult result;
|
| if (!v8::internal::ParseRegExp(&reader, multiline, &result))
|
|
|