Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index b655aec2ebc128d5a5e65ec94af0a977bc6e63c4..dec5697f8769b861b8d72e2b44ec9647695e8cc5 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1845,6 +1845,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); |