Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index 85e6fd35355b7122a31a92865d4f1415cfbff864..82e2e3c06253589fb1e6c3937cc33d13776ecb0b 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -516,17 +516,17 @@ class Socket { |
class TickSample { |
public: |
TickSample() |
- : pc(NULL), |
+ : state(OTHER), |
+ pc(NULL), |
sp(NULL), |
fp(NULL), |
function(NULL), |
- state(OTHER), |
frames_count(0) {} |
+ StateTag state; // The state of the VM. |
Address pc; // Instruction pointer. |
Address sp; // Stack pointer. |
Address fp; // Frame pointer. |
Address function; // The last called JS function. |
- StateTag state; // The state of the VM. |
static const int kMaxFramesCount = 64; |
Address stack[kMaxFramesCount]; // Call stack. |
int frames_count; // Number of captured frames. |