Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index a91ab28cc6cc182896aab32a6f761c652f316467..8cf21c0e8528d7adafbf3209cf8b1705c0ca181c 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -203,6 +203,7 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
source_shared->opt_count_and_bailout_reason()); |
target_shared->set_native(was_native); |
target_shared->set_profiler_ticks(source_shared->profiler_ticks()); |
+ target_shared->set_function_literal_id(source_shared->function_literal_id()); |
SharedFunctionInfo::SetScript( |
target_shared, Handle<Object>(source_shared->script(), isolate)); |