Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 3f1b3b4e19d24942088dd4fd84ed50b0fd2a7ac0..1819b32d0d3e8e7b31ee0887ca6f8bf02c56b5ee 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5987,6 +5987,11 @@ class HObjectAccess final { |
Representation::Integer32()); |
} |
+ static HObjectAccess ForOddballTypeOf() { |
+ return HObjectAccess(kInobject, Oddball::kTypeOfOffset, |
+ Representation::HeapObject()); |
+ } |
+ |
static HObjectAccess ForElementsPointer() { |
return HObjectAccess(kElementsPointer, JSObject::kElementsOffset); |
} |