Index: src/runtime/runtime-typedarray.cc |
diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc |
index 217d739a11edcf7dd7fe86d7eb7019170dc720a0..0c4223cd46fc0fa36d964d8bdee09a0918545c1e 100644 |
--- a/src/runtime/runtime-typedarray.cc |
+++ b/src/runtime/runtime-typedarray.cc |
@@ -144,7 +144,7 @@ RUNTIME_FUNCTION(Runtime_ArrayBufferNeuter) { |
return isolate->heap()->undefined_value(); |
} |
// Shared array buffers should never be neutered. |
- DCHECK(!array_buffer->is_shared()); |
+ RUNTIME_ASSERT(!array_buffer->is_shared()); |
DCHECK(!array_buffer->is_external()); |
void* backing_store = array_buffer->backing_store(); |
size_t byte_length = NumberToSize(isolate, array_buffer->byte_length()); |