Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index fc47c50b6f9f84495553b235d86dade27f414a53..d3b9d5ba70276050e0a81e7454ac41eeb42b28a1 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4907,18 +4907,11 @@ void LCodeGen::DoDeferredStringCharFromCode(LStringCharFromCode* instr) { |
void LCodeGen::DoStringAdd(LStringAdd* instr) { |
ASSERT(ToRegister(instr->context()).is(esi)); |
- if (FLAG_new_string_add) { |
- ASSERT(ToRegister(instr->left()).is(edx)); |
- ASSERT(ToRegister(instr->right()).is(eax)); |
- NewStringAddStub stub(instr->hydrogen()->flags(), |
- instr->hydrogen()->pretenure_flag()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
- } else { |
- EmitPushTaggedOperand(instr->left()); |
- EmitPushTaggedOperand(instr->right()); |
- StringAddStub stub(instr->hydrogen()->flags()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
- } |
+ ASSERT(ToRegister(instr->left()).is(edx)); |
+ ASSERT(ToRegister(instr->right()).is(eax)); |
+ StringAddStub stub(instr->hydrogen()->flags(), |
+ instr->hydrogen()->pretenure_flag()); |
+ CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
} |