Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index ceac829cf80351d1a8d483b020047cd10a0df706..3af42238e3177b03ee64a31c988e13857f5c6810 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -739,7 +739,7 @@ static bool InstallFullCode(CompilationInfo* info) { |
Handle<ScopeInfo> scope_info = |
ScopeInfo::Create(info->scope(), info->zone()); |
shared->set_scope_info(*scope_info); |
- shared->set_code(*code); |
+ shared->ReplaceCode(*code); |
if (!function.is_null()) { |
function->ReplaceCode(*code); |
ASSERT(!function->IsOptimized()); |