Reviewers: titzer,

Message:
Committed patchset #1 manually as r22474 (presubmit successful).

Description:
Revert "Bootstrapper::DetachGlobal also need to unset global_proxy's constructor
to remove all refs to context"

This reverts r22460 for potentially breaking the mac webkit build.

[email protected]

BUG=

Committed: https://code.google.com/p/v8/source/detail?r=22474

Please review this at https://codereview.chromium.org/401813002/

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

Affected files (+0, -1 lines):
  M src/bootstrapper.cc


Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 0dfe3a3f7a4024f8d47b4b4162f821491f951833..aaa0f3f7e521d4bf63263d48e658a8649ce7e429 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -355,7 +355,6 @@ void Bootstrapper::DetachGlobal(Handle<Context> env) {
Handle<JSGlobalProxy> global_proxy(JSGlobalProxy::cast(env->global_proxy()));
   global_proxy->set_native_context(*factory->null_value());
   SetObjectPrototype(global_proxy, factory->null_value());
-  global_proxy->map()->set_constructor(*factory->null_value());
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to