OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 | 886 |
887 prototype = handle(JSObject::cast(current_map->prototype())); | 887 prototype = handle(JSObject::cast(current_map->prototype())); |
888 if (current_map->is_dictionary_map() && | 888 if (current_map->is_dictionary_map() && |
889 !current_map->IsJSGlobalObjectMap() && | 889 !current_map->IsJSGlobalObjectMap() && |
890 !current_map->IsJSGlobalProxyMap()) { | 890 !current_map->IsJSGlobalProxyMap()) { |
891 if (!name->IsUniqueName()) { | 891 if (!name->IsUniqueName()) { |
892 ASSERT(name->IsString()); | 892 ASSERT(name->IsString()); |
893 name = factory()->InternalizeString(Handle<String>::cast(name)); | 893 name = factory()->InternalizeString(Handle<String>::cast(name)); |
894 } | 894 } |
895 ASSERT(current.is_null() || | 895 ASSERT(current.is_null() || |
896 current->property_dictionary()->FindEntry(*name) == | 896 current->property_dictionary()->FindEntry(name) == |
897 NameDictionary::kNotFound); | 897 NameDictionary::kNotFound); |
898 | 898 |
899 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, | 899 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, |
900 scratch1, scratch2); | 900 scratch1, scratch2); |
901 | 901 |
902 __ ldr(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset)); | 902 __ ldr(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset)); |
903 reg = holder_reg; // From now on the object will be in holder_reg. | 903 reg = holder_reg; // From now on the object will be in holder_reg. |
904 __ ldr(reg, FieldMemOperand(scratch1, Map::kPrototypeOffset)); | 904 __ ldr(reg, FieldMemOperand(scratch1, Map::kPrototypeOffset)); |
905 } else { | 905 } else { |
906 Register map_reg = scratch1; | 906 Register map_reg = scratch1; |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1558 // ----------------------------------- | 1558 // ----------------------------------- |
1559 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1559 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
1560 } | 1560 } |
1561 | 1561 |
1562 | 1562 |
1563 #undef __ | 1563 #undef __ |
1564 | 1564 |
1565 } } // namespace v8::internal | 1565 } } // namespace v8::internal |
1566 | 1566 |
1567 #endif // V8_TARGET_ARCH_ARM | 1567 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |