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 6693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6704 __ mov(result, Operand::Zero()); | 6704 __ mov(result, Operand::Zero()); |
6705 __ Ret(); | 6705 __ Ret(); |
6706 } | 6706 } |
6707 | 6707 |
6708 | 6708 |
6709 struct AheadOfTimeWriteBarrierStubList { | 6709 struct AheadOfTimeWriteBarrierStubList { |
6710 Register object, value, address; | 6710 Register object, value, address; |
6711 RememberedSetAction action; | 6711 RememberedSetAction action; |
6712 }; | 6712 }; |
6713 | 6713 |
| 6714 |
6714 #define REG(Name) { kRegister_ ## Name ## _Code } | 6715 #define REG(Name) { kRegister_ ## Name ## _Code } |
6715 | 6716 |
6716 static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { | 6717 static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { |
6717 // Used in RegExpExecStub. | 6718 // Used in RegExpExecStub. |
6718 { REG(r6), REG(r4), REG(r7), EMIT_REMEMBERED_SET }, | 6719 { REG(r6), REG(r4), REG(r7), EMIT_REMEMBERED_SET }, |
6719 // Used in CompileArrayPushCall. | 6720 // Used in CompileArrayPushCall. |
6720 // Also used in StoreIC::GenerateNormal via GenerateDictionaryStore. | 6721 // Also used in StoreIC::GenerateNormal via GenerateDictionaryStore. |
6721 // Also used in KeyedStoreIC::GenerateGeneric. | 6722 // Also used in KeyedStoreIC::GenerateGeneric. |
6722 { REG(r3), REG(r4), REG(r5), EMIT_REMEMBERED_SET }, | 6723 { REG(r3), REG(r4), REG(r5), EMIT_REMEMBERED_SET }, |
6723 // Used in CompileStoreGlobal. | 6724 // Used in CompileStoreGlobal. |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7424 __ bind(&fast_elements_case); | 7425 __ bind(&fast_elements_case); |
7425 GenerateCase(masm, FAST_ELEMENTS); | 7426 GenerateCase(masm, FAST_ELEMENTS); |
7426 } | 7427 } |
7427 | 7428 |
7428 | 7429 |
7429 #undef __ | 7430 #undef __ |
7430 | 7431 |
7431 } } // namespace v8::internal | 7432 } } // namespace v8::internal |
7432 | 7433 |
7433 #endif // V8_TARGET_ARCH_ARM | 7434 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |