Reviewers: danno, mvstanton,

Description:
Handle external reference values properly in HConstant::ImmortalImmovable().

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

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

Affected files:
  M src/hydrogen-instructions.h


Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 1dbedbd52af497a34e84ef2974c437973ffbfcd1..3fae45bcb7663b8b8e50f86b9852eea2a65b38fd 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -3212,6 +3212,9 @@ class HConstant: public HTemplateInstruction<0> {
       }
       return false;
     }
+    if (has_external_reference_value_) {
+      return false;
+    }

     ASSERT(!handle_.is_null());
     Heap* heap = isolate()->heap();


--
--
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/groups/opt_out.


Reply via email to