Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d02017b77d854200dd4198a1b4329c71c1e8399a..5faf62b6ca3c40e0a7485792d796b634a6943fbc 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4880,6 +4880,7 @@ class FixedTypedArrayBase: public FixedArrayBase { |
inline int size(); |
+ static inline int TypedArraySize(InstanceType type, int length); |
inline int TypedArraySize(InstanceType type); |
// Use with care: returns raw pointer into heap. |
@@ -4888,6 +4889,8 @@ class FixedTypedArrayBase: public FixedArrayBase { |
inline int DataSize(); |
private: |
+ static inline int ElementSize(InstanceType type); |
+ |
inline int DataSize(InstanceType type); |
DISALLOW_IMPLICIT_CONSTRUCTORS(FixedTypedArrayBase); |