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

Unified Diff: src/hydrogen-instructions.h

Issue 267363002: Fix invalid ASSERT() in HasStableMapValue(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 7e5b92503e22f2b993871dccd716cf32d9c6adb2..21e9551dfd875d06c71f0b9ff043c4c8eda08f36 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -3617,7 +3617,7 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> {
return Unique<Map>::cast(GetUnique());
}
bool HasStableMapValue() const {
- ASSERT(HasMapValue());
+ ASSERT(HasMapValue() || !has_stable_map_value_);
return has_stable_map_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