OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 3281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3292 __ ldr(r3, FieldMemOperand(r2, HeapObject::kMapOffset)); | 3292 __ ldr(r3, FieldMemOperand(r2, HeapObject::kMapOffset)); |
3293 for (int i = 0; i < receiver_count; ++i) { | 3293 for (int i = 0; i < receiver_count; ++i) { |
3294 Handle<Map> map(receiver_maps->at(i)); | 3294 Handle<Map> map(receiver_maps->at(i)); |
3295 Handle<Code> code(handler_stubs->at(i)); | 3295 Handle<Code> code(handler_stubs->at(i)); |
3296 __ mov(ip, Operand(map)); | 3296 __ mov(ip, Operand(map)); |
3297 __ cmp(r3, ip); | 3297 __ cmp(r3, ip); |
3298 if (transitioned_maps->at(i) == NULL) { | 3298 if (transitioned_maps->at(i) == NULL) { |
3299 __ Jump(code, RelocInfo::CODE_TARGET, eq); | 3299 __ Jump(code, RelocInfo::CODE_TARGET, eq); |
3300 } else { | 3300 } else { |
3301 Label next_map; | 3301 Label next_map; |
3302 __ b(eq, &next_map); | 3302 __ b(ne, &next_map); |
3303 __ mov(r4, Operand(Handle<Map>(transitioned_maps->at(i)))); | 3303 __ mov(r3, Operand(Handle<Map>(transitioned_maps->at(i)))); |
Yang
2011/10/18 15:43:50
Bugfix of an earlier CL.
| |
3304 __ Jump(code, RelocInfo::CODE_TARGET, al); | 3304 __ Jump(code, RelocInfo::CODE_TARGET, al); |
3305 __ bind(&next_map); | 3305 __ bind(&next_map); |
3306 } | 3306 } |
3307 } | 3307 } |
3308 | 3308 |
3309 __ bind(&miss); | 3309 __ bind(&miss); |
3310 Handle<Code> miss_ic = isolate()->builtins()->KeyedStoreIC_Miss(); | 3310 Handle<Code> miss_ic = isolate()->builtins()->KeyedStoreIC_Miss(); |
3311 __ Jump(miss_ic, RelocInfo::CODE_TARGET, al); | 3311 __ Jump(miss_ic, RelocInfo::CODE_TARGET, al); |
3312 | 3312 |
3313 // Return the generated code. | 3313 // Return the generated code. |
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4460 Handle<Code> ic_miss = masm->isolate()->builtins()->KeyedStoreIC_Miss(); | 4460 Handle<Code> ic_miss = masm->isolate()->builtins()->KeyedStoreIC_Miss(); |
4461 __ Jump(ic_miss, RelocInfo::CODE_TARGET); | 4461 __ Jump(ic_miss, RelocInfo::CODE_TARGET); |
4462 } | 4462 } |
4463 | 4463 |
4464 | 4464 |
4465 #undef __ | 4465 #undef __ |
4466 | 4466 |
4467 } } // namespace v8::internal | 4467 } } // namespace v8::internal |
4468 | 4468 |
4469 #endif // V8_TARGET_ARCH_ARM | 4469 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |