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 2775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2786 GenerateLoadCallback(object, holder, a0, a2, a3, a1, t0, callback, name, | 2786 GenerateLoadCallback(object, holder, a0, a2, a3, a1, t0, callback, name, |
2787 &miss); | 2787 &miss); |
2788 __ bind(&miss); | 2788 __ bind(&miss); |
2789 GenerateLoadMiss(masm(), Code::LOAD_IC); | 2789 GenerateLoadMiss(masm(), Code::LOAD_IC); |
2790 | 2790 |
2791 // Return the generated code. | 2791 // Return the generated code. |
2792 return GetCode(CALLBACKS, name); | 2792 return GetCode(CALLBACKS, name); |
2793 } | 2793 } |
2794 | 2794 |
2795 | 2795 |
| 2796 Handle<Code> LoadStubCompiler::CompileLoadViaGetter( |
| 2797 Handle<String> name, |
| 2798 Handle<JSObject> receiver, |
| 2799 Handle<JSObject> holder, |
| 2800 Handle<JSFunction> getter) { |
| 2801 return Handle<Code>(); |
| 2802 } |
| 2803 |
| 2804 |
2796 Handle<Code> LoadStubCompiler::CompileLoadConstant(Handle<JSObject> object, | 2805 Handle<Code> LoadStubCompiler::CompileLoadConstant(Handle<JSObject> object, |
2797 Handle<JSObject> holder, | 2806 Handle<JSObject> holder, |
2798 Handle<JSFunction> value, | 2807 Handle<JSFunction> value, |
2799 Handle<String> name) { | 2808 Handle<String> name) { |
2800 // ----------- S t a t e ------------- | 2809 // ----------- S t a t e ------------- |
2801 // -- a0 : receiver | 2810 // -- a0 : receiver |
2802 // -- a2 : name | 2811 // -- a2 : name |
2803 // -- ra : return address | 2812 // -- ra : return address |
2804 // ----------------------------------- | 2813 // ----------------------------------- |
2805 Label miss; | 2814 Label miss; |
(...skipping 1795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4601 __ Jump(ic_slow, RelocInfo::CODE_TARGET); | 4610 __ Jump(ic_slow, RelocInfo::CODE_TARGET); |
4602 } | 4611 } |
4603 } | 4612 } |
4604 | 4613 |
4605 | 4614 |
4606 #undef __ | 4615 #undef __ |
4607 | 4616 |
4608 } } // namespace v8::internal | 4617 } } // namespace v8::internal |
4609 | 4618 |
4610 #endif // V8_TARGET_ARCH_MIPS | 4619 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |