Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index 440dedca6e760dd8954adad6fa6dae9403c40665..eb0f9cb4f0008ddd38d98945d85c5110a976f136 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -41,8 +41,8 @@ namespace internal { |
void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { |
code_map->AddCode(start, entry, size); |
- if (sfi_address != NULL) { |
- entry->set_shared_id(code_map->GetSFITag(sfi_address)); |
+ if (shared != NULL) { |
+ entry->set_shared_id(code_map->GetSharedId(shared)); |
} |
} |
@@ -57,7 +57,7 @@ void CodeDeleteEventRecord::UpdateCodeMap(CodeMap* code_map) { |
} |
-void SFIMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { |
+void SharedFunctionMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { |
code_map->MoveCode(from, to); |
} |