Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 33747a615aa70146c5c3471dff7b5a2647670997..50541a9e92304995135b301403d09cc6c967b22f 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -69,15 +69,14 @@ class InnerPointerToCodeCache { |
class StackHandlerConstants : public AllStatic { |
public: |
static const int kNextOffset = 0 * kPointerSize; |
- static const int kCodeOffset = 1 * kPointerSize; |
- static const int kStateOffset = 2 * kPointerSize; |
+ static const int kStateOffset = 1 * kPointerSize; |
#if V8_TARGET_LITTLE_ENDIAN || !V8_HOST_ARCH_64_BIT |
static const int kStateIntOffset = kStateOffset; |
#else |
static const int kStateIntOffset = kStateOffset + kIntSize; |
#endif |
- static const int kContextOffset = 3 * kPointerSize; |
- static const int kFPOffset = 4 * kPointerSize; |
+ static const int kContextOffset = 2 * kPointerSize; |
+ static const int kFPOffset = 3 * kPointerSize; |
static const int kSize = kFPOffset + kFPOnStackSize; |
static const int kSlotCount = kSize >> kPointerSizeLog2; |
@@ -116,7 +115,6 @@ class StackHandler BASE_EMBEDDED { |
// Accessors. |
inline Context* context() const; |
- inline Code* code() const; |
inline Kind kind() const; |
inline unsigned index() const; |
inline Address frame_pointer() const; |
@@ -133,7 +131,6 @@ class StackHandler BASE_EMBEDDED { |
private: |
inline Object** context_address() const; |
- inline Object** code_address() const; |
inline void SetFp(Address slot, Address fp); |
DISALLOW_IMPLICIT_CONSTRUCTORS(StackHandler); |