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
This commit is contained in:
parent
cf54120a58
commit
b685df1caa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user