| Index: runtime/vm/intrinsifier_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/intrinsifier_ia32.cc (revision 25997)
|
| +++ runtime/vm/intrinsifier_ia32.cc (working copy)
|
| @@ -136,19 +136,6 @@
|
| }
|
|
|
|
|
| -bool Intrinsifier::Array_getLength(Assembler* assembler) {
|
| - __ movl(EAX, Address(ESP, + 1 * kWordSize));
|
| - __ movl(EAX, FieldAddress(EAX, Array::length_offset()));
|
| - __ ret();
|
| - return true;
|
| -}
|
| -
|
| -
|
| -bool Intrinsifier::ImmutableArray_getLength(Assembler* assembler) {
|
| - return Array_getLength(assembler);
|
| -}
|
| -
|
| -
|
| bool Intrinsifier::Array_getIndexed(Assembler* assembler) {
|
| Label fall_through;
|
| __ movl(EBX, Address(ESP, + 1 * kWordSize)); // Index.
|
| @@ -315,16 +302,6 @@
|
| }
|
|
|
|
|
| -// Get length of growable object array.
|
| -// On stack: growable array (+1), return-address (+0).
|
| -bool Intrinsifier::GrowableArray_getLength(Assembler* assembler) {
|
| - __ movl(EAX, Address(ESP, + 1 * kWordSize));
|
| - __ movl(EAX, FieldAddress(EAX, GrowableObjectArray::length_offset()));
|
| - __ ret();
|
| - return true;
|
| -}
|
| -
|
| -
|
| // Get capacity of growable object array.
|
| // On stack: growable array (+1), return-address (+0).
|
| bool Intrinsifier::GrowableArray_getCapacity(Assembler* assembler) {
|
| @@ -552,16 +529,6 @@
|
| __ Bind(&fall_through); \
|
|
|
|
|
| -
|
| -// Gets the length of a TypedData.
|
| -bool Intrinsifier::TypedData_getLength(Assembler* assembler) {
|
| - __ movl(EAX, Address(ESP, + 1 * kWordSize));
|
| - __ movl(EAX, FieldAddress(EAX, TypedData::length_offset()));
|
| - __ ret();
|
| - return true;
|
| -}
|
| -
|
| -
|
| static ScaleFactor GetScaleFactor(intptr_t size) {
|
| switch (size) {
|
| case 1: return TIMES_1;
|
| @@ -1502,14 +1469,6 @@
|
| }
|
|
|
|
|
| -bool Intrinsifier::String_getLength(Assembler* assembler) {
|
| - __ movl(EAX, Address(ESP, + 1 * kWordSize)); // String object.
|
| - __ movl(EAX, FieldAddress(EAX, String::length_offset()));
|
| - __ ret();
|
| - return true;
|
| -}
|
| -
|
| -
|
| bool Intrinsifier::String_codeUnitAt(Assembler* assembler) {
|
| Label fall_through, try_two_byte_string;
|
| __ movl(EBX, Address(ESP, + 1 * kWordSize)); // Index.
|
|
|