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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 | 878 |
879 prototype = handle(JSObject::cast(current_map->prototype())); | 879 prototype = handle(JSObject::cast(current_map->prototype())); |
880 if (current_map->is_dictionary_map() && | 880 if (current_map->is_dictionary_map() && |
881 !current_map->IsJSGlobalObjectMap() && | 881 !current_map->IsJSGlobalObjectMap() && |
882 !current_map->IsJSGlobalProxyMap()) { | 882 !current_map->IsJSGlobalProxyMap()) { |
883 if (!name->IsUniqueName()) { | 883 if (!name->IsUniqueName()) { |
884 ASSERT(name->IsString()); | 884 ASSERT(name->IsString()); |
885 name = factory()->InternalizeString(Handle<String>::cast(name)); | 885 name = factory()->InternalizeString(Handle<String>::cast(name)); |
886 } | 886 } |
887 ASSERT(current.is_null() || | 887 ASSERT(current.is_null() || |
888 current->property_dictionary()->FindEntry(*name) == | 888 current->property_dictionary()->FindEntry(name) == |
889 NameDictionary::kNotFound); | 889 NameDictionary::kNotFound); |
890 | 890 |
891 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, | 891 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, |
892 scratch1, scratch2); | 892 scratch1, scratch2); |
893 | 893 |
894 __ lw(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset)); | 894 __ lw(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset)); |
895 reg = holder_reg; // From now on the object will be in holder_reg. | 895 reg = holder_reg; // From now on the object will be in holder_reg. |
896 __ lw(reg, FieldMemOperand(scratch1, Map::kPrototypeOffset)); | 896 __ lw(reg, FieldMemOperand(scratch1, Map::kPrototypeOffset)); |
897 } else { | 897 } else { |
898 Register map_reg = scratch1; | 898 Register map_reg = scratch1; |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1547 // ----------------------------------- | 1547 // ----------------------------------- |
1548 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1548 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
1549 } | 1549 } |
1550 | 1550 |
1551 | 1551 |
1552 #undef __ | 1552 #undef __ |
1553 | 1553 |
1554 } } // namespace v8::internal | 1554 } } // namespace v8::internal |
1555 | 1555 |
1556 #endif // V8_TARGET_ARCH_MIPS | 1556 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |