Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_WASM_JS_H_ | 5 #ifndef V8_WASM_JS_H_ |
| 6 #define V8_WASM_JS_H_ | 6 #define V8_WASM_JS_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/base/hashmap.h" | 9 #include "src/base/hashmap.h" |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 Handle<Object> value); | 49 Handle<Object> value); |
| 50 | 50 |
| 51 static void SetWasmMemoryArrayBuffer(Isolate* isolate, Handle<Object> value, | 51 static void SetWasmMemoryArrayBuffer(Isolate* isolate, Handle<Object> value, |
| 52 Handle<JSArrayBuffer> buffer); | 52 Handle<JSArrayBuffer> buffer); |
| 53 | 53 |
| 54 static uint32_t GetWasmMemoryMaximumSize(Isolate* isolate, | 54 static uint32_t GetWasmMemoryMaximumSize(Isolate* isolate, |
| 55 Handle<Object> value); | 55 Handle<Object> value); |
| 56 | 56 |
| 57 static void SetWasmMemoryInstance(Isolate* isolate, Handle<Object> value, | 57 static void SetWasmMemoryInstance(Isolate* isolate, Handle<Object> value, |
| 58 Handle<JSObject> instance); | 58 Handle<JSObject> instance); |
| 59 | |
| 60 static void ResetWasmMemoryInstance(Isolate* isolate, | |
| 61 Handle<Object> memory_object); | |
| 62 | |
| 63 static Handle<Object> GetWasmMemoryInstanceWrapper(Isolate* isolate, | |
| 64 Handle<Object> value); | |
|
bradnelson
2016/11/09 01:40:11
value -> instance?
gdeepti
2016/11/16 05:34:10
Refactored to remove the function.
| |
| 59 }; | 65 }; |
| 60 | |
| 61 } // namespace internal | 66 } // namespace internal |
| 62 } // namespace v8 | 67 } // namespace v8 |
| 63 #endif | 68 #endif |
| OLD | NEW |