Index: src/ic-ia32.cc |
=================================================================== |
--- src/ic-ia32.cc (revision 595) |
+++ src/ic-ia32.cc (working copy) |
@@ -138,7 +138,7 @@ |
} |
-void LoadIC::GenerateShortStringLength(MacroAssembler* masm) { |
+void LoadIC::GenerateStringLength(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- ecx : name |
// -- esp[0] : return address |
@@ -149,46 +149,12 @@ |
__ mov(eax, Operand(esp, kPointerSize)); |
- StubCompiler::GenerateLoadShortStringLength(masm, eax, edx, &miss); |
+ StubCompiler::GenerateLoadStringLength(masm, eax, edx, &miss); |
__ bind(&miss); |
StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); |
} |
-void LoadIC::GenerateMediumStringLength(MacroAssembler* masm) { |
- // ----------- S t a t e ------------- |
- // -- ecx : name |
- // -- esp[0] : return address |
- // -- esp[4] : receiver |
- // ----------------------------------- |
- |
- Label miss; |
- |
- __ mov(eax, Operand(esp, kPointerSize)); |
- |
- StubCompiler::GenerateLoadMediumStringLength(masm, eax, edx, &miss); |
- __ bind(&miss); |
- StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); |
-} |
- |
- |
-void LoadIC::GenerateLongStringLength(MacroAssembler* masm) { |
- // ----------- S t a t e ------------- |
- // -- ecx : name |
- // -- esp[0] : return address |
- // -- esp[4] : receiver |
- // ----------------------------------- |
- |
- Label miss; |
- |
- __ mov(eax, Operand(esp, kPointerSize)); |
- |
- StubCompiler::GenerateLoadLongStringLength(masm, eax, edx, &miss); |
- __ bind(&miss); |
- StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC); |
-} |
- |
- |
void LoadIC::GenerateFunctionPrototype(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- ecx : name |