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 2821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2832 __ bind(&miss); | 2832 __ bind(&miss); |
2833 GenerateLoadMiss(masm(), Code::LOAD_IC); | 2833 GenerateLoadMiss(masm(), Code::LOAD_IC); |
2834 | 2834 |
2835 // Return the generated code. | 2835 // Return the generated code. |
2836 return GetCode(Code::NONEXISTENT, factory()->empty_string()); | 2836 return GetCode(Code::NONEXISTENT, factory()->empty_string()); |
2837 } | 2837 } |
2838 | 2838 |
2839 | 2839 |
2840 Register* LoadStubCompiler::registers() { | 2840 Register* LoadStubCompiler::registers() { |
2841 // receiver, name, scratch1, scratch2, scratch3, scratch4. | 2841 // receiver, name, scratch1, scratch2, scratch3, scratch4. |
2842 static Register registers[] = { rax, rcx, rbx, rdx, rdi, r8 }; | 2842 static Register registers[] = { rax, rcx, rdx, rbx, rdi, r8 }; |
2843 return registers; | 2843 return registers; |
2844 } | 2844 } |
2845 | 2845 |
2846 | 2846 |
2847 Register* KeyedLoadStubCompiler::registers() { | 2847 Register* KeyedLoadStubCompiler::registers() { |
2848 // receiver, name, scratch1, scratch2, scratch3, scratch4. | 2848 // receiver, name, scratch1, scratch2, scratch3, scratch4. |
2849 static Register registers[] = { rdx, rax, rbx, rcx, rdi, r8 }; | 2849 static Register registers[] = { rdx, rax, rbx, rcx, rdi, r8 }; |
2850 return registers; | 2850 return registers; |
2851 } | 2851 } |
2852 | 2852 |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3692 __ jmp(ic_slow, RelocInfo::CODE_TARGET); | 3692 __ jmp(ic_slow, RelocInfo::CODE_TARGET); |
3693 } | 3693 } |
3694 } | 3694 } |
3695 | 3695 |
3696 | 3696 |
3697 #undef __ | 3697 #undef __ |
3698 | 3698 |
3699 } } // namespace v8::internal | 3699 } } // namespace v8::internal |
3700 | 3700 |
3701 #endif // V8_TARGET_ARCH_X64 | 3701 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |