Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 1a64c45369572fcff233ea8c1fbee391e35ddc0e..c17a466d4243302120a3c5d718a72e05a5041fc5 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2577,28 +2577,7 @@ void MacroAssembler::Abort(const char* msg) { |
void MacroAssembler::LoadInstanceDescriptors(Register map, |
Register descriptors) { |
- Register temp = descriptors; |
- mov(temp, FieldOperand(map, Map::kTransitionsOrBackPointerOffset)); |
- |
- Label ok, fail, load_from_back_pointer; |
- CheckMap(temp, |
- isolate()->factory()->fixed_array_map(), |
- &fail, |
- DONT_DO_SMI_CHECK); |
- mov(descriptors, FieldOperand(temp, TransitionArray::kDescriptorsOffset)); |
- jmp(&ok); |
- |
- bind(&fail); |
- cmp(temp, isolate()->factory()->undefined_value()); |
- j(not_equal, &load_from_back_pointer, Label::kNear); |
- mov(descriptors, isolate()->factory()->empty_descriptor_array()); |
- jmp(&ok); |
- |
- bind(&load_from_back_pointer); |
- mov(temp, FieldOperand(temp, Map::kTransitionsOrBackPointerOffset)); |
- mov(descriptors, FieldOperand(temp, TransitionArray::kDescriptorsOffset)); |
- |
- bind(&ok); |
+ mov(descriptors, FieldOperand(map, Map::kDescriptorsOffset)); |
} |