Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index bb1c560e27a4e8ad3385a01fdb3edb7885a3193e..e847a698a8e010db67143a4b352880be0e9a6b40 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -439,8 +439,8 @@ |
if (!marker->IsSmi()) { |
if (maybe_function->IsSmi()) { |
return NONE; |
- } else if (IsInterpreterFramePc(iterator->isolate(), |
- *(state->pc_address))) { |
+ } else if (FLAG_ignition && IsInterpreterFramePc(iterator->isolate(), |
+ *(state->pc_address))) { |
return INTERPRETED; |
} else { |
return JAVA_SCRIPT; |