| Index: test/cctest/test-debug.cc
|
| ===================================================================
|
| --- test/cctest/test-debug.cc (revision 3132)
|
| +++ test/cctest/test-debug.cc (working copy)
|
| @@ -178,6 +178,12 @@
|
| }
|
|
|
|
|
| +// Helper function that compiles and runs the source.
|
| +static v8::Local<v8::Value> CompileRun(const char* source) {
|
| + return v8::Script::Compile(v8::String::New(source))->Run();
|
| +}
|
| +
|
| +
|
| // Is there any debug info for the function?
|
| static bool HasDebugInfo(v8::Handle<v8::Function> fun) {
|
| Handle<v8::internal::JSFunction> f = v8::Utils::OpenHandle(*fun);
|
|
|