Reviewers: Erik Corry,

Message:
I'm not a project member, so I won't be able to commit it. I guess I'll have to
ask somebody to land it for me.

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

Please review this at http://codereview.chromium.org/1936001/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/d8.cc


Index: src/d8.cc
===================================================================
--- src/d8.cc   (revision 4569)
+++ src/d8.cc   (working copy)
@@ -447,9 +447,10 @@
 #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


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to