Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: src/runtime.cc

Issue 1687022: Make LiveEdit natives fuzzy (Closed)
Patch Set: uncomment code Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/liveedit.cc ('k') | test/mjsunit/fuzz-natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/liveedit.cc ('k') | test/mjsunit/fuzz-natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698