OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 5883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5894 }; | 5894 }; |
5895 | 5895 |
5896 | 5896 |
5897 #define REG(Name) { kRegister_ ## Name ## _Code } | 5897 #define REG(Name) { kRegister_ ## Name ## _Code } |
5898 | 5898 |
5899 struct AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { | 5899 struct AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { |
5900 // Used in RegExpExecStub. | 5900 // Used in RegExpExecStub. |
5901 { REG(rbx), REG(rax), REG(rdi), EMIT_REMEMBERED_SET }, | 5901 { REG(rbx), REG(rax), REG(rdi), EMIT_REMEMBERED_SET }, |
5902 // Used in CompileArrayPushCall. | 5902 // Used in CompileArrayPushCall. |
5903 { REG(rbx), REG(rcx), REG(rdx), EMIT_REMEMBERED_SET }, | 5903 { REG(rbx), REG(rcx), REG(rdx), EMIT_REMEMBERED_SET }, |
5904 // Used in CompileStoreGlobal. | |
5905 { REG(rbx), REG(rcx), REG(rdx), OMIT_REMEMBERED_SET }, | |
5906 // Used in StoreStubCompiler::CompileStoreField and | 5904 // Used in StoreStubCompiler::CompileStoreField and |
5907 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. | 5905 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. |
5908 { REG(rdx), REG(rcx), REG(rbx), EMIT_REMEMBERED_SET }, | 5906 { REG(rdx), REG(rcx), REG(rbx), EMIT_REMEMBERED_SET }, |
5909 // GenerateStoreField calls the stub with two different permutations of | 5907 // GenerateStoreField calls the stub with two different permutations of |
5910 // registers. This is the second. | 5908 // registers. This is the second. |
5911 { REG(rbx), REG(rcx), REG(rdx), EMIT_REMEMBERED_SET }, | 5909 { REG(rbx), REG(rcx), REG(rdx), EMIT_REMEMBERED_SET }, |
5912 // StoreIC::GenerateNormal via GenerateDictionaryStore. | 5910 // StoreIC::GenerateNormal via GenerateDictionaryStore. |
5913 { REG(rbx), REG(r8), REG(r9), EMIT_REMEMBERED_SET }, | 5911 { REG(rbx), REG(r8), REG(r9), EMIT_REMEMBERED_SET }, |
5914 // KeyedStoreIC::GenerateGeneric. | 5912 // KeyedStoreIC::GenerateGeneric. |
5915 { REG(rbx), REG(rdx), REG(rcx), EMIT_REMEMBERED_SET}, | 5913 { REG(rbx), REG(rdx), REG(rcx), EMIT_REMEMBERED_SET}, |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6623 __ bind(&fast_elements_case); | 6621 __ bind(&fast_elements_case); |
6624 GenerateCase(masm, FAST_ELEMENTS); | 6622 GenerateCase(masm, FAST_ELEMENTS); |
6625 } | 6623 } |
6626 | 6624 |
6627 | 6625 |
6628 #undef __ | 6626 #undef __ |
6629 | 6627 |
6630 } } // namespace v8::internal | 6628 } } // namespace v8::internal |
6631 | 6629 |
6632 #endif // V8_TARGET_ARCH_X64 | 6630 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |