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(); |