Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 4b1b297884c1927938bdd2f0dd7b13be7a419f69..ff994b06f99cc37d3556c5ac73b021ab792dcf45 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2645,6 +2645,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); |
@@ -4383,6 +4389,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); |