Chromium Code Reviews| 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 3389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3400 // -- a3 : scratch | 3400 // -- a3 : scratch |
| 3401 // ----------------------------------- | 3401 // ----------------------------------- |
| 3402 Label miss; | 3402 Label miss; |
| 3403 __ JumpIfSmi(a2, &miss); | 3403 __ JumpIfSmi(a2, &miss); |
| 3404 | 3404 |
| 3405 int receiver_count = receiver_maps->length(); | 3405 int receiver_count = receiver_maps->length(); |
| 3406 __ lw(a3, FieldMemOperand(a2, HeapObject::kMapOffset)); | 3406 __ lw(a3, FieldMemOperand(a2, HeapObject::kMapOffset)); |
| 3407 for (int i = 0; i < receiver_count; ++i) { | 3407 for (int i = 0; i < receiver_count; ++i) { |
| 3408 if (transitioned_maps->at(i).is_null()) { | 3408 if (transitioned_maps->at(i).is_null()) { |
| 3409 __ Jump(handler_stubs->at(i), RelocInfo::CODE_TARGET, eq, | 3409 __ Jump(handler_stubs->at(i), RelocInfo::CODE_TARGET, eq, |
| 3410 a3, Operand(receiver_maps->at(i))); | 3410 a3, Operand(receiver_maps->at(i))); |
|
danno
2013/01/10 22:58:59
Stray whitespace change?
mvstanton
2013/01/11 13:43:01
Done.
| |
| 3411 } else { | 3411 } else { |
| 3412 Label next_map; | 3412 Label next_map; |
| 3413 __ Branch(&next_map, ne, a3, Operand(receiver_maps->at(i))); | 3413 __ Branch(&next_map, ne, a3, Operand(receiver_maps->at(i))); |
| 3414 __ li(a3, Operand(transitioned_maps->at(i))); | 3414 __ li(a3, Operand(transitioned_maps->at(i))); |
| 3415 __ Jump(handler_stubs->at(i), RelocInfo::CODE_TARGET); | 3415 __ Jump(handler_stubs->at(i), RelocInfo::CODE_TARGET); |
| 3416 __ bind(&next_map); | 3416 __ bind(&next_map); |
| 3417 } | 3417 } |
| 3418 } | 3418 } |
| 3419 | 3419 |
| 3420 __ bind(&miss); | 3420 __ bind(&miss); |
| (...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4424 __ Jump(ic_slow, RelocInfo::CODE_TARGET); | 4424 __ Jump(ic_slow, RelocInfo::CODE_TARGET); |
| 4425 } | 4425 } |
| 4426 } | 4426 } |
| 4427 | 4427 |
| 4428 | 4428 |
| 4429 #undef __ | 4429 #undef __ |
| 4430 | 4430 |
| 4431 } } // namespace v8::internal | 4431 } } // namespace v8::internal |
| 4432 | 4432 |
| 4433 #endif // V8_TARGET_ARCH_MIPS | 4433 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |