Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 298f1a1d11872b53a3faf8277dddd47b6a090a55..fa509419257045d15fa83af562258cd30182fc1f 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -174,6 +174,7 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
target_shared->set_bytecode_array(source_shared->bytecode_array()); |
} |
target_shared->set_scope_info(source_shared->scope_info()); |
+ target_shared->set_outer_scope_info(source_shared->outer_scope_info()); |
target_shared->set_length(source_shared->length()); |
target_shared->set_num_literals(source_shared->num_literals()); |
target_shared->set_feedback_metadata(source_shared->feedback_metadata()); |