Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index be03186144f37b8bbd99d7b33873f01402d5fd57..9f5bc2099c29935951d3526cf2718ff399d49aec 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5946,6 +5946,11 @@ class HObjectAccess final { |
Representation::Integer32()); |
} |
+ static HObjectAccess ForOddballToNumber( |
+ Representation representation = Representation::Tagged()) { |
+ return HObjectAccess(kInobject, Oddball::kToNumberOffset, representation); |
+ } |
+ |
static HObjectAccess ForOddballTypeOf() { |
return HObjectAccess(kInobject, Oddball::kTypeOfOffset, |
Representation::HeapObject()); |