Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index f10ab25bc79d7013fc430df6206126cd470deca1..2a4b3f80ba27076554a0944480a027d13192e3c9 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1840,6 +1840,7 @@ LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
LOperand* string = UseRegister(instr->string()); |
LOperand* index = UseRegister(instr->index()); |
ASSERT(ecx.is_byte_register()); |
+ // TODO(titzer): the machine code for this instruction overwrites ecx! fix! |
LOperand* value = UseFixed(instr->value(), ecx); |
LSeqStringSetChar* result = |
new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); |