Index: src/runtime/runtime-wasm.cc |
diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc |
index 75e2a76b8b2965527828af6fee0c07e4be38f1f8..0817ff5854fc9d3815fbaf22fe01e12ba4e4fdd5 100644 |
--- a/src/runtime/runtime-wasm.cc |
+++ b/src/runtime/runtime-wasm.cc |
@@ -30,7 +30,7 @@ RUNTIME_FUNCTION(Runtime_WasmGrowMemory) { |
Code* code = isolate->inner_pointer_to_code_cache()->GetCacheEntry(pc)->code; |
ahaas
2016/06/29 07:13:31
Use also "the DisallowHeapAllocation no_allocation
gdeepti
2016/06/29 23:38:38
Thanks for clarifying that, used "DisallowHeapAllo
|
FixedArray* deopt_data = code->deoptimization_data(); |
DCHECK(deopt_data->length() == 2); |
- JSObject* module_object = JSObject::cast(deopt_data->get(0)); |
+ Handle<JSObject> module_object(JSObject::cast(deopt_data->get(0))); |
RUNTIME_ASSERT(!module_object->IsNull(isolate)); |
Address old_mem_start, new_mem_start; |