Revision: 4570
Author: [email protected]
Date: Tue May  4 00:28:29 2010
Log: Make bleeding edge compile (since r4561 made Handle ctor explicit). http://codereview.chromium.org/1936001. Committed for Dmitry Titov of Google
http://code.google.com/p/v8/source/detail?r=4570

Modified:
 /branches/bleeding_edge/src/d8.cc

=======================================
--- /branches/bleeding_edge/src/d8.cc   Fri Apr 16 05:19:47 2010
+++ /branches/bleeding_edge/src/d8.cc   Tue May  4 00:28:29 2010
@@ -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