diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-09-22 10:21:15 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-09-22 10:21:15 -0700 |
commit | e2274412488ab310decb8494ab41009342b3c2f6 (patch) | |
tree | b4f29c5bed08a9e5b51217fc4e4ed704ecef8ae8 /deps/v8/src/mips | |
parent | cc1d61cbb3a9b2b75edac66295f2bc5314be5042 (diff) | |
download | node-new-e2274412488ab310decb8494ab41009342b3c2f6.tar.gz |
Upgrade V8 to 2.4.5
Diffstat (limited to 'deps/v8/src/mips')
-rw-r--r-- | deps/v8/src/mips/frames-mips.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/deps/v8/src/mips/frames-mips.cc b/deps/v8/src/mips/frames-mips.cc index 0fce3cdd95..d630562995 100644 --- a/deps/v8/src/mips/frames-mips.cc +++ b/deps/v8/src/mips/frames-mips.cc @@ -52,9 +52,7 @@ StackFrame::Type StackFrame::ComputeType(State* state) { } -StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) { - if (fp == 0) return NONE; - // Compute frame type and stack pointer. +Address ExitFrame::ComputeStackPointer(Address fp) { Address sp = fp + ExitFrameConstants::kSPDisplacement; const int offset = ExitFrameConstants::kCodeOffset; Object* code = Memory::Object_at(fp + offset); @@ -62,11 +60,7 @@ StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) { if (is_debug_exit) { sp -= kNumJSCallerSaved * kPointerSize; } - // Fill in the state. - state->sp = sp; - state->fp = fp; - state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize); - return EXIT; + return sp; } |