Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index a080c7e3f2f95ee2e7ac6904aad1920fe5f8814e..e176951a7da6ab0d326120340ea1472361938696 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -13556,6 +13556,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_LiveEditPatchFunctionPositions) { |
ASSERT(args.length() == 2); |
CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_array, 0); |
CONVERT_ARG_HANDLE_CHECKED(JSArray, position_change_array, 1); |
+ RUNTIME_ASSERT(SharedInfoWrapper::IsInstance(shared_array)) |
LiveEdit::PatchFunctionPositions(shared_array, position_change_array); |
return isolate->heap()->undefined_value(); |