Index: src/profile-generator-inl.h |
diff --git a/src/profile-generator-inl.h b/src/profile-generator-inl.h |
index 76a9fb1796937f75c563947a2ed510fe01421cf4..ac23ee3f01195be14df4de15c951ac1f030a98ee 100644 |
--- a/src/profile-generator-inl.h |
+++ b/src/profile-generator-inl.h |
@@ -79,25 +79,6 @@ ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry) |
children_(CodeEntriesMatch), |
id_(tree->next_node_id()) { } |
- |
-CodeEntry* ProfileGenerator::EntryForVMState(StateTag tag) { |
- switch (tag) { |
- case GC: |
- return gc_entry_; |
- case JS: |
- case COMPILER: |
- // DOM events handlers are reported as OTHER / EXTERNAL entries. |
- // To avoid confusing people, let's put all these entries into |
- // one bucket. |
- case OTHER: |
- case EXTERNAL: |
- return program_entry_; |
- case IDLE: |
- return idle_entry_; |
- default: return NULL; |
- } |
-} |
- |
} } // namespace v8::internal |
#endif // V8_PROFILE_GENERATOR_INL_H_ |