Reviewers: Hannes Payer,

Description:
The uninitialized value is immortal immovable.

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

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

Affected files (+1, -0 lines):
  M src/hydrogen-instructions.h


Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 93e49082bf7c4cf02b7d0104f42edd8add011968..54eaa8bbf64e2911fa4fdff31b1d3d584c3a07ef 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -3410,6 +3410,7 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
     ASSERT(!object_.IsKnownGlobal(heap->nan_value()));
     return
         object_.IsKnownGlobal(heap->undefined_value()) ||
+        object_.IsKnownGlobal(heap->uninitialized_value()) ||
         object_.IsKnownGlobal(heap->null_value()) ||
         object_.IsKnownGlobal(heap->true_value()) ||
         object_.IsKnownGlobal(heap->false_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/groups/opt_out.

Reply via email to