Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index d424a9ebfeb262592044d6712a8498e20c7d19c7..53518d74abea597c6c4cc68355db2447371ff630 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -168,7 +168,7 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
// of the target shared function info. |
target_shared->ReplaceCode(source_shared->code()); |
if (source_shared->HasBytecodeArray()) { |
- target_shared->set_function_data(source_shared->bytecode_array()); |
+ target_shared->set_bytecode_array(source_shared->bytecode_array()); |
} |
target_shared->set_scope_info(source_shared->scope_info()); |
target_shared->set_length(source_shared->length()); |