Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index ce07213b029403646a4f14d8086fc5269f57c6b3..e4c750cb83c1dbc8b489f2a08779d3b43ccacb0d 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -900,14 +900,6 @@ void ProfileGenerator::RecordTickSample(const TickSample& sample) { |
// that a callback calls itself. |
*(entries.start()) = NULL; |
*entry++ = code_map_.FindEntry(sample.external_callback); |
- } else if (sample.tos != NULL) { |
- // Find out, if top of stack was pointing inside a JS function |
- // meaning that we have encountered a frameless invocation. |
- *entry = code_map_.FindEntry(sample.tos); |
- if (*entry != NULL && !(*entry)->is_js_function()) { |
- *entry = NULL; |
- } |
- entry++; |
} |
for (const Address* stack_pos = sample.stack, |