BROKEN, changing argument allocation strategy

git-svn-id: svn://10.0.0.236/trunk@143650 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-06-12 23:02:51 +00:00
parent 667e81fbbc
commit ce5ac8f267
9 changed files with 176 additions and 141 deletions

View File

@@ -338,8 +338,8 @@
uint16 slotIndex = BytecodeContainer::getShort(pc);
pc += sizeof(short);
a = top();
ASSERT(parameterSlots && slotIndex < parameterSlots->size());
(*parameterSlots)[slotIndex] = a;
ASSERT(parameterSlots && slotIndex < parameterFrame->frameSlots->size());
parameterSlots[slotIndex] = a;
}
break;
@@ -347,7 +347,7 @@
{
uint16 slotIndex = BytecodeContainer::getShort(pc);
pc += sizeof(short);
ASSERT(parameterSlots && slotIndex < parameterSlots->size());
ASSERT(parameterSlots && slotIndex < parameterFrame->frameSlots->size());
// XXX some kind of code here?
push(JS2VAL_TRUE);
}
@@ -357,8 +357,8 @@
{
uint16 slotIndex = BytecodeContainer::getShort(pc);
pc += sizeof(short);
ASSERT(parameterSlots && slotIndex < parameterSlots->size());
push((*parameterSlots)[slotIndex]);
ASSERT(parameterSlots && slotIndex < parameterFrame->frameSlots->size());
push(parameterSlots[slotIndex]);
}
break;
@@ -367,8 +367,8 @@
uint16 slotIndex = BytecodeContainer::getShort(pc);
pc += sizeof(short);
push(JS2VAL_NULL);
ASSERT(parameterSlots && slotIndex < parameterSlots->size());
push((*parameterSlots)[slotIndex]);
ASSERT(parameterSlots && slotIndex < parameterFrame->frameSlots->size());
push(parameterSlots[slotIndex]);
}
break;