Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 6b518475d2fe5b637af65b735631848969b80986..1cfd1a3f318a7562170a3d2c01a9bf19a6718572 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -991,6 +991,15 @@ void HNumericConstraint::PrintDataTo(StringStream* stream) { |
} |
+void HUnknownOSRValue::PrintDataTo(StringStream *stream) { |
+ const char* type = "expression"; |
+ if (environment_->is_local_index(index_)) type = "local"; |
+ if (environment_->is_special_index(index_)) type = "special"; |
+ if (environment_->is_parameter_index(index_)) type = "parameter"; |
+ stream->Add("%s @ %d", type, index_); |
+} |
+ |
+ |
HInductionVariableAnnotation* HInductionVariableAnnotation::AddToGraph( |
HPhi* phi, |
NumericRelation relation, |