Commit b685df1c authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Make bleeding edge compile (since r4561 made Handle ctor explicit). ...

Make bleeding edge compile (since r4561 made Handle ctor explicit).  http://codereview.chromium.org/1936001.  Committed for Dmitry Titov of Google

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4570 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cf54120a
......@@ -447,9 +447,10 @@ void Shell::Initialize() {
#ifdef ENABLE_DEBUGGER_SUPPORT
// Install the debugger object in the utility scope
i::Debug::Load();
i::JSObject* debug = i::Debug::debug_context()->global();
i::Handle<i::JSObject> debug
= i::Handle<i::JSObject>(i::Debug::debug_context()->global());
utility_context_->Global()->Set(String::New("$debug"),
Utils::ToLocal(&debug));
Utils::ToLocal(debug));
#endif
// Run the d8 shell utility script in the utility context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment