diff options
author | Ryan <ry@tinyclouds.org> | 2009-06-17 18:15:28 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-06-17 18:15:28 +0200 |
commit | 84f9178e664e7a779cff10656848f89eb6795a73 (patch) | |
tree | b54759addaf2224bc1052a815abc964260612a5a /deps/v8/src/frames.h | |
parent | 27b268b8c13d4ca27a0755cc02446fb78886a3bf (diff) | |
download | node-new-84f9178e664e7a779cff10656848f89eb6795a73.tar.gz |
upgrade v8 to 1.2.8
Diffstat (limited to 'deps/v8/src/frames.h')
-rw-r--r-- | deps/v8/src/frames.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/deps/v8/src/frames.h b/deps/v8/src/frames.h index e250609fd9..f002e12161 100644 --- a/deps/v8/src/frames.h +++ b/deps/v8/src/frames.h @@ -78,9 +78,6 @@ class StackHandler BASE_EMBEDDED { void Cook(Code* code); void Uncook(Code* code); - // TODO(1233780): Get rid of the code slot in stack handlers. - static const int kCodeNotPresent = 0; - private: // Accessors. inline State state() const; @@ -132,7 +129,7 @@ class StackFrame BASE_EMBEDDED { // Accessors. Address sp() const { return state_.sp; } Address fp() const { return state_.fp; } - Address pp() const { return GetCallerStackPointer(); } + Address caller_sp() const { return GetCallerStackPointer(); } Address pc() const { return *pc_address(); } void set_pc(Address pc) { *pc_address() = pc; } @@ -140,7 +137,7 @@ class StackFrame BASE_EMBEDDED { Address* pc_address() const { return state_.pc_address; } // Get the id of this stack frame. - Id id() const { return static_cast<Id>(OffsetFrom(pp())); } + Id id() const { return static_cast<Id>(OffsetFrom(caller_sp())); } // Checks if this frame includes any stack handlers. bool HasHandler() const; @@ -337,7 +334,6 @@ class StandardFrame: public StackFrame { virtual void ComputeCallerState(State* state) const; // Accessors. - inline Address caller_sp() const; inline Address caller_fp() const; inline Address caller_pc() const; |