Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 23881004: Delete useless CompileStoreGlobal (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: clean up more code Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/stub-cache.h ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/stub-cache.h ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698