Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index 2c27e9f0dd7c9d81fb31b94a1bfea936aa57c071..513cc0233f18de5464080317b4a80027d1c6bdbd 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -320,9 +320,9 @@ JSArray* LiveEdit::GatherCompileInfo(Handle<Script> script, |
CompilationZoneScope zone_scope(DELETE_ON_EXIT); |
FunctionInfoListener listener; |
+ Handle<Object> original_source = Handle<Object>(script->source()); |
script->set_source(*source); |
active_function_info_listener = &listener; |
- Handle<Object> original_source = Handle<Object>(script->source()); |
CompileScriptForTracker(script); |
active_function_info_listener = NULL; |
script->set_source(*original_source); |