Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 655254c95dd4ebf979f953bde860a124d14a6122..80957c2309e1d6c307c14bd9872a25da70a08adf 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -466,7 +466,8 @@ void InitScriptLineEnds(Handle<Script> script) { |
if (!script->source()->IsString()) { |
ASSERT(script->source()->IsUndefined()); |
- script->set_line_ends(*(Factory::NewFixedArray(0))); |
+ Handle<FixedArray> empty = Factory::NewFixedArray(0); |
+ script->set_line_ends(*empty); |
ASSERT(script->line_ends()->IsFixedArray()); |
return; |
} |