Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: src/hydrogen-instructions.h

Issue 137953008: The uninitialized value is immortal immovable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) ||
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698