| Index: test/cctest/cctest.h
|
| diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
|
| index 2f33d13394734a3075eefaab9db72a20f653aba0..1d70c0e8aea4dcb773381c30eb89a012099d4fd0 100644
|
| --- a/test/cctest/cctest.h
|
| +++ b/test/cctest/cctest.h
|
| @@ -347,6 +347,11 @@ static inline v8::Local<v8::String> v8_str(const char* x) {
|
| }
|
|
|
|
|
| +static inline v8::Local<v8::Symbol> v8_symbol(const char* name) {
|
| + return v8::Symbol::New(v8::Isolate::GetCurrent(), v8_str(name));
|
| +}
|
| +
|
| +
|
| static inline v8::Local<v8::Script> v8_compile(const char* x) {
|
| return v8::Script::Compile(v8_str(x));
|
| }
|
|
|