Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index eb5fc790900da0df9bf82541d656df6da55808a2..72ca092f5123c0f4920b17bba638594b49612c17 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2644,6 +2644,12 @@ class FixedArray: public FixedArrayBase { |
inline Object* get(int index) const; |
static inline Handle<Object> get(FixedArray* array, int index, |
Isolate* isolate); |
+ template <class T> |
+ MaybeHandle<T> GetValue(int index) const; |
+ |
+ template <class T> |
+ Handle<T> GetValueChecked(int index) const; |
+ |
// Setter that uses write barrier. |
inline void set(int index, Object* value); |
inline bool is_the_hole(int index); |
@@ -4420,6 +4426,7 @@ class ByteArray: public FixedArrayBase { |
// Setter and getter. |
inline byte get(int index); |
inline void set(int index, byte value); |
+ inline const byte* data() const; |
// Copy in / copy out whole byte slices. |
inline void copy_out(int index, byte* buffer, int length); |