Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 6237fc94d7d4e89a7bc1e50f0f7f6642401305cd..7e51c133f2b6cb124318837b396cdc0cb81a938d 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -426,6 +426,9 @@ class HSourcePosition { |
static HSourcePosition Unknown() { |
return HSourcePosition(RelocInfo::kNoPosition); |
} |
+ static HSourcePosition FromRaw(int raw_value) { |
+ return HSourcePosition(raw_value); |
+ } |
bool IsUnknown() const { return value_ == RelocInfo::kNoPosition; } |