Enable GC update for pointers in GenerateKeyedLoadICDebugBreak

Review URL: http://codereview.chromium.org/660257

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3989 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
peter.rybin@gmail.com 2010-03-01 17:26:46 +00:00
parent 7d58852374
commit aec90d099e

View File

@ -146,9 +146,10 @@ void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
// Register state for keyed IC load call (from ic-ia32.cc). // Register state for keyed IC load call (from ic-ia32.cc).
// ----------- S t a t e ------------- // ----------- S t a t e -------------
// No registers used on entry. // -- edx : receiver
// -- eax : key
// ----------------------------------- // -----------------------------------
Generate_DebugBreakCallHelper(masm, 0, false); Generate_DebugBreakCallHelper(masm, eax.bit() | edx.bit(), false);
} }
@ -156,10 +157,12 @@ void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
// Register state for keyed IC load call (from ic-ia32.cc). // Register state for keyed IC load call (from ic-ia32.cc).
// ----------- S t a t e ------------- // ----------- S t a t e -------------
// -- eax : value // -- eax : value
// -- ecx : key
// -- edx : receiver
// ----------------------------------- // -----------------------------------
// Register eax contains an object that needs to be pushed on the // Register eax contains an object that needs to be pushed on the
// expression stack of the fake JS frame. // expression stack of the fake JS frame.
Generate_DebugBreakCallHelper(masm, eax.bit(), false); Generate_DebugBreakCallHelper(masm, eax.bit() | ecx.bit() | edx.bit(), false);
} }