| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index ee2ca08a4088166c57e67afdf901da5ec8335921..492b617526107bb1e0b4b75669df43d79788fa18 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1940,7 +1940,9 @@ bool Debug::EnsureDebugInfo(Handle<SharedFunctionInfo> shared) {
|
| }
|
|
|
| // Ensure shared in compiled. Return false if this failed.
|
| - if (!EnsureCompiled(shared, CLEAR_EXCEPTION)) return false;
|
| + if (!SharedFunctionInfo::EnsureCompiled(shared, CLEAR_EXCEPTION)) {
|
| + return false;
|
| + }
|
|
|
| // Create the debug info object.
|
| Handle<DebugInfo> debug_info = FACTORY->NewDebugInfo(shared);
|
|
|