Reviewers: Jakob,

Message:
PTAL

Description:
Fix for a GCMole issue introduced in r21117.

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

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

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


Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index d61ad5771d7c2caf202abadc85fd3995d7d4ace3..0d700deb009dd83fd933ff28b8ceae5bf6ef776c 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2108,8 +2108,8 @@ void Genesis::InstallJSFunctionResultCaches() {


 void Genesis::InitializeNormalizedMapCaches() {
-  native_context()->set_normalized_map_cache(
-      *NormalizedMapCache::New(isolate()));
+  Handle<NormalizedMapCache> cache = NormalizedMapCache::New(isolate());
+  native_context()->set_normalized_map_cache(*cache);
 }




--
--
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