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

Unified Diff: src/hydrogen-instructions.cc

Issue 21317004: Fix HType handling for HConstant with external references. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.cc
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
index 6b518475d2fe5b637af65b735631848969b80986..f19f458d5358a6ad2154a2ec4ceb13a963a1a8b4 100644
--- a/src/hydrogen-instructions.cc
+++ b/src/hydrogen-instructions.cc
@@ -2741,7 +2741,8 @@ HConstant::HConstant(double double_value,
HConstant::HConstant(ExternalReference reference)
- : has_smi_value_(false),
+ : HTemplateInstruction(HType::None()),
+ has_smi_value_(false),
has_int32_value_(false),
has_double_value_(false),
has_external_reference_value_(true),
@@ -2750,7 +2751,6 @@ HConstant::HConstant(ExternalReference reference)
is_cell_(false),
boolean_value_(true),
external_reference_value_(reference) {
- set_type(HType::None());
Initialize(Representation::External());
}
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698