Commit 2cb0c0a9 authored by vitalyr@chromium.org's avatar vitalyr@chromium.org

Remove NULL temp operand from ia32 LStoreKeyedSpecializedArrayElement.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7924 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b5b5fa22
......@@ -2016,7 +2016,6 @@ LInstruction* LChunkBuilder::DoStoreKeyedSpecializedArrayElement(
LOperand* external_pointer = UseRegister(instr->external_pointer());
LOperand* key = UseRegisterOrConstant(instr->key());
LOperand* temp = NULL;
LOperand* val = NULL;
if (array_type == kExternalByteArray ||
array_type == kExternalUnsignedByteArray) {
......@@ -2028,8 +2027,7 @@ LInstruction* LChunkBuilder::DoStoreKeyedSpecializedArrayElement(
return new LStoreKeyedSpecializedArrayElement(external_pointer,
key,
val,
temp);
val);
}
......
......@@ -1813,16 +1813,14 @@ class LStoreKeyedFastElement: public LTemplateInstruction<0, 3, 0> {
};
class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 1> {
class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> {
public:
LStoreKeyedSpecializedArrayElement(LOperand* external_pointer,
LOperand* key,
LOperand* val,
LOperand* temp) {
LOperand* val) {
inputs_[0] = external_pointer;
inputs_[1] = key;
inputs_[2] = val;
temps_[0] = temp;
}
DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment