Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index d4590e25fecc35ea1b995fd334cc03a76f02d5fe..2a0bbeedc3f27fe78208e8e78b22f3b477a982d0 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -435,6 +435,7 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1; |
| V(JS_WEAK_SET_TYPE) \ |
| V(JS_PROMISE_TYPE) \ |
| V(JS_REGEXP_TYPE) \ |
| + V(JS_WASM_TYPE) \ |
|
Michael Starzinger
2016/04/22 11:59:35
As discussed offline: Let's try to get by without
Clemens Hammacher
2016/04/22 14:38:40
Definitely! :)
|
| \ |
| V(JS_BOUND_FUNCTION_TYPE) \ |
| V(JS_FUNCTION_TYPE) \ |
| @@ -728,6 +729,7 @@ enum InstanceType { |
| JS_PROMISE_TYPE, |
| JS_REGEXP_TYPE, |
| JS_BOUND_FUNCTION_TYPE, |
| + JS_WASM_TYPE, |
| JS_FUNCTION_TYPE, // LAST_JS_OBJECT_TYPE, LAST_JS_RECEIVER_TYPE |
| // Pseudo-types |
| @@ -4418,10 +4420,13 @@ class ByteArray: public FixedArrayBase { |
| // Setter and getter. |
| inline byte get(int index); |
| + inline void get(int index, byte* buffer, int length); |
| inline void set(int index, byte value); |
| + inline void set(int index, const byte* buffer, int length); |
| // Treat contents as an int array. |
| inline int get_int(int index); |
| + inline void set_int(int index, int value); |
| static int SizeFor(int length) { |
| return OBJECT_POINTER_ALIGN(kHeaderSize + length); |