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 6794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6805 | 6805 |
6806 | 6806 |
6807 #define REG(Name) { kRegister_ ## Name ## _Code } | 6807 #define REG(Name) { kRegister_ ## Name ## _Code } |
6808 | 6808 |
6809 static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { | 6809 static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { |
6810 // Used in RegExpExecStub. | 6810 // Used in RegExpExecStub. |
6811 { REG(ebx), REG(eax), REG(edi), EMIT_REMEMBERED_SET }, | 6811 { REG(ebx), REG(eax), REG(edi), EMIT_REMEMBERED_SET }, |
6812 // Used in CompileArrayPushCall. | 6812 // Used in CompileArrayPushCall. |
6813 { REG(ebx), REG(ecx), REG(edx), EMIT_REMEMBERED_SET }, | 6813 { REG(ebx), REG(ecx), REG(edx), EMIT_REMEMBERED_SET }, |
6814 { REG(ebx), REG(edi), REG(edx), OMIT_REMEMBERED_SET }, | 6814 { REG(ebx), REG(edi), REG(edx), OMIT_REMEMBERED_SET }, |
6815 // Used in CompileStoreGlobal and CallFunctionStub. | |
6816 { REG(ebx), REG(ecx), REG(edx), OMIT_REMEMBERED_SET }, | |
6817 // Used in StoreStubCompiler::CompileStoreField and | 6815 // Used in StoreStubCompiler::CompileStoreField and |
6818 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. | 6816 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. |
6819 { REG(edx), REG(ecx), REG(ebx), EMIT_REMEMBERED_SET }, | 6817 { REG(edx), REG(ecx), REG(ebx), EMIT_REMEMBERED_SET }, |
6820 // GenerateStoreField calls the stub with two different permutations of | 6818 // GenerateStoreField calls the stub with two different permutations of |
6821 // registers. This is the second. | 6819 // registers. This is the second. |
6822 { REG(ebx), REG(ecx), REG(edx), EMIT_REMEMBERED_SET }, | 6820 { REG(ebx), REG(ecx), REG(edx), EMIT_REMEMBERED_SET }, |
6823 // StoreIC::GenerateNormal via GenerateDictionaryStore | 6821 // StoreIC::GenerateNormal via GenerateDictionaryStore |
6824 { REG(ebx), REG(edi), REG(edx), EMIT_REMEMBERED_SET }, | 6822 { REG(ebx), REG(edi), REG(edx), EMIT_REMEMBERED_SET }, |
6825 // KeyedStoreIC::GenerateGeneric. | 6823 // KeyedStoreIC::GenerateGeneric. |
6826 { REG(ebx), REG(edx), REG(ecx), EMIT_REMEMBERED_SET}, | 6824 { REG(ebx), REG(edx), REG(ecx), EMIT_REMEMBERED_SET}, |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7530 __ bind(&fast_elements_case); | 7528 __ bind(&fast_elements_case); |
7531 GenerateCase(masm, FAST_ELEMENTS); | 7529 GenerateCase(masm, FAST_ELEMENTS); |
7532 } | 7530 } |
7533 | 7531 |
7534 | 7532 |
7535 #undef __ | 7533 #undef __ |
7536 | 7534 |
7537 } } // namespace v8::internal | 7535 } } // namespace v8::internal |
7538 | 7536 |
7539 #endif // V8_TARGET_ARCH_IA32 | 7537 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |