Commit fdf866d6 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Copy the profiler ticks in %SetCode().

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/257123005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21034 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 01041ce9
......@@ -3140,6 +3140,7 @@ RUNTIME_FUNCTION(Runtime_SetCode) {
bool was_native = target_shared->native();
target_shared->set_compiler_hints(source_shared->compiler_hints());
target_shared->set_native(was_native);
target_shared->set_profiler_ticks(source_shared->profiler_ticks());
// Set the code of the target function.
target->ReplaceCode(source_shared->code());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment