Index: src/runtime/runtime-liveedit.cc |
diff --git a/src/runtime/runtime-liveedit.cc b/src/runtime/runtime-liveedit.cc |
index da342de9d875c765b3410e8a0aa6922e28f4f361..6c439c1756661bf66617bbea98652541b774b1a9 100644 |
--- a/src/runtime/runtime-liveedit.cc |
+++ b/src/runtime/runtime-liveedit.cc |
@@ -70,10 +70,8 @@ RUNTIME_FUNCTION(Runtime_LiveEditGatherCompileInfo) { |
RUNTIME_ASSERT(script->value()->IsScript()); |
Handle<Script> script_handle = Handle<Script>(Script::cast(script->value())); |
- Handle<JSArray> result; |
- ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
- isolate, result, LiveEdit::GatherCompileInfo(script_handle, source)); |
- return *result; |
+ RETURN_RESULT_OR_FAILURE(isolate, |
+ LiveEdit::GatherCompileInfo(script_handle, source)); |
} |