Addressed danno's comments

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15823 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
haitao.feng@intel.com 2013-07-23 13:01:59 +00:00
parent a9253143de
commit 24e0d7f860
2 changed files with 4 additions and 5 deletions

View File

@ -1265,8 +1265,8 @@ void Deoptimizer::DoComputeAccessorStubFrame(TranslationIterator* iterator,
// MacroAssembler::EnterFrame). For a setter stub frame we need one additional
// entry for the implicit return value, see
// StoreStubCompiler::CompileStoreViaSetter.
unsigned fixed_frame_entries = (kPCOnStackSize/kPointerSize) +
(kFPOnStackSize/kPointerSize) + 3 +
unsigned fixed_frame_entries = (kPCOnStackSize / kPointerSize) +
(kFPOnStackSize / kPointerSize) + 3 +
(is_setter_stub_frame ? 1 : 0);
unsigned fixed_frame_size = fixed_frame_entries * kPointerSize;
unsigned output_frame_size = height_in_bytes + fixed_frame_size;

View File

@ -473,7 +473,6 @@ class FrameDescription {
public:
FrameDescription(uint32_t frame_size,
JSFunction* function);
virtual ~FrameDescription() { }
void* operator new(size_t size, uint32_t frame_size) {
// Subtracts kPointerSize, as the member frame_content_ already supplies
@ -511,9 +510,9 @@ class FrameDescription {
*GetFrameSlotPointer(offset) = value;
}
virtual void SetCallerPc(unsigned offset, intptr_t value);
void SetCallerPc(unsigned offset, intptr_t value);
virtual void SetCallerFp(unsigned offset, intptr_t value);
void SetCallerFp(unsigned offset, intptr_t value);
intptr_t GetRegister(unsigned n) const {
ASSERT(n < ARRAY_SIZE(registers_));