Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 5accc77f0b53b8ae33e4f8be7cbbe4cf97179326..c59372a2a66de5a57728350017959f4998b368d2 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -57,10 +57,13 @@ const char* Representation::Mnemonic() const { |
case kTagged: return "t"; |
case kDouble: return "d"; |
case kInteger32: return "i"; |
- default: |
+ case kExternal: return "x"; |
+ case kNumRepresentations: |
UNREACHABLE(); |
return NULL; |
} |
+ UNREACHABLE(); |
+ return NULL; |
} |
@@ -1202,6 +1205,15 @@ void HStoreKeyed::PrintDataTo(StringStream* stream) const { |
} |
+void HStorePixelArrayElement::PrintDataTo(StringStream* stream) const { |
+ external_pointer()->PrintNameTo(stream); |
+ stream->Add("["); |
+ key()->PrintNameTo(stream); |
+ stream->Add("] = "); |
+ value()->PrintNameTo(stream); |
+} |
+ |
+ |
void HLoadGlobal::PrintDataTo(StringStream* stream) const { |
stream->Add("[%p]", *cell()); |
if (check_hole_value()) stream->Add(" (deleteable/read-only)"); |