Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index a6f5fb7fa0d40941446cd3ecf3133c1507e877ae..43291cf48257c0fddf6e65779d6594e3bd075b2f 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -581,13 +581,17 @@ class TickSample { |
tos(NULL), |
frames_count(0) {} |
StateTag state; // The state of the VM. |
- Address pc; // Instruction pointer. |
- Address sp; // Stack pointer. |
- Address fp; // Frame pointer. |
- Address tos; // Top stack value (*sp). |
+ Address pc; // Instruction pointer. |
+ Address sp; // Stack pointer. |
+ Address fp; // Frame pointer. |
+ union { |
+ Address tos; // Top stack value (*sp). |
+ Address external_callback; |
+ }; |
static const int kMaxFramesCount = 64; |
Address stack[kMaxFramesCount]; // Call stack. |
- int frames_count; // Number of captured frames. |
+ int frames_count : 8; // Number of captured frames. |
+ bool has_external_callback : 1; |
}; |
#ifdef ENABLE_LOGGING_AND_PROFILING |