| 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 | 585 |
| 586 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) { | 586 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) { |
| 587 ASSERT(kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC); | 587 ASSERT(kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC); |
| 588 Handle<Code> code = (kind == Code::LOAD_IC) | 588 Handle<Code> code = (kind == Code::LOAD_IC) |
| 589 ? masm->isolate()->builtins()->LoadIC_Miss() | 589 ? masm->isolate()->builtins()->LoadIC_Miss() |
| 590 : masm->isolate()->builtins()->KeyedLoadIC_Miss(); | 590 : masm->isolate()->builtins()->KeyedLoadIC_Miss(); |
| 591 __ Jump(code, RelocInfo::CODE_TARGET); | 591 __ Jump(code, RelocInfo::CODE_TARGET); |
| 592 } | 592 } |
| 593 | 593 |
| 594 | 594 |
| 595 void StubCompiler::GenerateStoreMiss(MacroAssembler* masm, Code::Kind kind) { |
| 596 ASSERT(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); |
| 597 Handle<Code> code = (kind == Code::STORE_IC) |
| 598 ? masm->isolate()->builtins()->StoreIC_Miss() |
| 599 : masm->isolate()->builtins()->KeyedStoreIC_Miss(); |
| 600 __ Jump(code, RelocInfo::CODE_TARGET); |
| 601 } |
| 602 |
| 603 |
| 595 static void GenerateCallFunction(MacroAssembler* masm, | 604 static void GenerateCallFunction(MacroAssembler* masm, |
| 596 Handle<Object> object, | 605 Handle<Object> object, |
| 597 const ParameterCount& arguments, | 606 const ParameterCount& arguments, |
| 598 Label* miss, | 607 Label* miss, |
| 599 Code::ExtraICState extra_ic_state) { | 608 Code::ExtraICState extra_ic_state) { |
| 600 // ----------- S t a t e ------------- | 609 // ----------- S t a t e ------------- |
| 601 // -- r0: receiver | 610 // -- r0: receiver |
| 602 // -- r1: function to call | 611 // -- r1: function to call |
| 603 // ----------------------------------- | 612 // ----------------------------------- |
| 604 | 613 |
| (...skipping 3699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4304 __ Jump(ic_slow, RelocInfo::CODE_TARGET); | 4313 __ Jump(ic_slow, RelocInfo::CODE_TARGET); |
| 4305 } | 4314 } |
| 4306 } | 4315 } |
| 4307 | 4316 |
| 4308 | 4317 |
| 4309 #undef __ | 4318 #undef __ |
| 4310 | 4319 |
| 4311 } } // namespace v8::internal | 4320 } } // namespace v8::internal |
| 4312 | 4321 |
| 4313 #endif // V8_TARGET_ARCH_ARM | 4322 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |