OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 __ fincstp(); | 566 __ fincstp(); |
567 // Fall through to slow case. | 567 // Fall through to slow case. |
568 | 568 |
569 // Slow case: Load name and receiver from stack and jump to runtime. | 569 // Slow case: Load name and receiver from stack and jump to runtime. |
570 __ bind(&slow); | 570 __ bind(&slow); |
571 __ IncrementCounter(&Counters::keyed_load_external_array_slow, 1); | 571 __ IncrementCounter(&Counters::keyed_load_external_array_slow, 1); |
572 GenerateRuntimeGetProperty(masm); | 572 GenerateRuntimeGetProperty(masm); |
573 } | 573 } |
574 | 574 |
575 | 575 |
| 576 void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) { |
| 577 GenerateGeneric(masm); |
| 578 } |
| 579 |
| 580 |
576 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { | 581 void KeyedStoreIC::GenerateMiss(MacroAssembler* masm) { |
577 // ----------- S t a t e ------------- | 582 // ----------- S t a t e ------------- |
578 // -- rax : value | 583 // -- rax : value |
579 // -- rsp[0] : return address | 584 // -- rsp[0] : return address |
580 // -- rsp[8] : key | 585 // -- rsp[8] : key |
581 // -- rsp[16] : receiver | 586 // -- rsp[16] : receiver |
582 // ----------------------------------- | 587 // ----------------------------------- |
583 | 588 |
584 __ pop(rcx); | 589 __ pop(rcx); |
585 __ push(Operand(rsp, 1 * kPointerSize)); // receiver | 590 __ push(Operand(rsp, 1 * kPointerSize)); // receiver |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1350 | 1355 |
1351 // Cache miss: Jump to runtime. | 1356 // Cache miss: Jump to runtime. |
1352 GenerateMiss(masm); | 1357 GenerateMiss(masm); |
1353 } | 1358 } |
1354 | 1359 |
1355 | 1360 |
1356 #undef __ | 1361 #undef __ |
1357 | 1362 |
1358 | 1363 |
1359 } } // namespace v8::internal | 1364 } } // namespace v8::internal |
OLD | NEW |