Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 3fa41e9fab0b1e2acaf32ab9b8352de89dd29a6b..e8fb51695d8c06e7f925d268a949bd995eaa2e70 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -9730,9 +9730,7 @@ static Object* Runtime_LiveEditReplaceFunctionCode(Arguments args) { |
CONVERT_ARG_CHECKED(JSArray, new_compile_info, 0); |
CONVERT_ARG_CHECKED(JSArray, shared_info, 1); |
- LiveEdit::ReplaceFunctionCode(new_compile_info, shared_info); |
- |
- return Heap::undefined_value(); |
+ return LiveEdit::ReplaceFunctionCode(new_compile_info, shared_info); |
} |
// Connects SharedFunctionInfo to another script. |
@@ -9787,9 +9785,7 @@ static Object* Runtime_LiveEditPatchFunctionPositions(Arguments args) { |
CONVERT_ARG_CHECKED(JSArray, shared_array, 0); |
CONVERT_ARG_CHECKED(JSArray, position_change_array, 1); |
- LiveEdit::PatchFunctionPositions(shared_array, position_change_array); |
- |
- return Heap::undefined_value(); |
+ return LiveEdit::PatchFunctionPositions(shared_array, position_change_array); |
} |