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

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

Issue 9310117: Implement KeyedStoreICs to grow arrays on out-of-bound stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing WB stub Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/type-info.cc ('k') | src/x64/codegen-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 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 5948 matching lines...) Expand 10 before | Expand all | Expand 10 after
5959 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. 5959 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField.
5960 { rdx, rcx, rbx, EMIT_REMEMBERED_SET }, 5960 { rdx, rcx, rbx, EMIT_REMEMBERED_SET },
5961 // GenerateStoreField calls the stub with two different permutations of 5961 // GenerateStoreField calls the stub with two different permutations of
5962 // registers. This is the second. 5962 // registers. This is the second.
5963 { rbx, rcx, rdx, EMIT_REMEMBERED_SET }, 5963 { rbx, rcx, rdx, EMIT_REMEMBERED_SET },
5964 // StoreIC::GenerateNormal via GenerateDictionaryStore. 5964 // StoreIC::GenerateNormal via GenerateDictionaryStore.
5965 { rbx, r8, r9, EMIT_REMEMBERED_SET }, 5965 { rbx, r8, r9, EMIT_REMEMBERED_SET },
5966 // KeyedStoreIC::GenerateGeneric. 5966 // KeyedStoreIC::GenerateGeneric.
5967 { rbx, rdx, rcx, EMIT_REMEMBERED_SET}, 5967 { rbx, rdx, rcx, EMIT_REMEMBERED_SET},
5968 // KeyedStoreStubCompiler::GenerateStoreFastElement. 5968 // KeyedStoreStubCompiler::GenerateStoreFastElement.
5969 { rdi, rdx, rcx, EMIT_REMEMBERED_SET}, 5969 { rdi, rbx, rcx, EMIT_REMEMBERED_SET},
5970 { rdx, rdi, rbx, EMIT_REMEMBERED_SET},
5970 // ElementsTransitionGenerator::GenerateSmiOnlyToObject 5971 // ElementsTransitionGenerator::GenerateSmiOnlyToObject
5971 // and ElementsTransitionGenerator::GenerateSmiOnlyToObject 5972 // and ElementsTransitionGenerator::GenerateSmiOnlyToObject
5972 // and ElementsTransitionGenerator::GenerateDoubleToObject 5973 // and ElementsTransitionGenerator::GenerateDoubleToObject
5973 { rdx, rbx, rdi, EMIT_REMEMBERED_SET}, 5974 { rdx, rbx, rdi, EMIT_REMEMBERED_SET},
5975 { rdx, rbx, rdi, OMIT_REMEMBERED_SET},
5974 // ElementsTransitionGenerator::GenerateSmiOnlyToDouble 5976 // ElementsTransitionGenerator::GenerateSmiOnlyToDouble
5975 // and ElementsTransitionGenerator::GenerateDoubleToObject 5977 // and ElementsTransitionGenerator::GenerateDoubleToObject
5976 { rdx, r11, r15, EMIT_REMEMBERED_SET}, 5978 { rdx, r11, r15, EMIT_REMEMBERED_SET},
5977 // ElementsTransitionGenerator::GenerateDoubleToObject 5979 // ElementsTransitionGenerator::GenerateDoubleToObject
5978 { r11, rax, r15, EMIT_REMEMBERED_SET}, 5980 { r11, rax, r15, EMIT_REMEMBERED_SET},
5979 // StoreArrayLiteralElementStub::Generate 5981 // StoreArrayLiteralElementStub::Generate
5980 { rbx, rax, rcx, EMIT_REMEMBERED_SET}, 5982 { rbx, rax, rcx, EMIT_REMEMBERED_SET},
5981 // Null termination. 5983 // Null termination.
5982 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET} 5984 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET}
5983 }; 5985 };
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
6298 xmm0, 6300 xmm0,
6299 &slow_elements); 6301 &slow_elements);
6300 __ ret(0); 6302 __ ret(0);
6301 } 6303 }
6302 6304
6303 #undef __ 6305 #undef __
6304 6306
6305 } } // namespace v8::internal 6307 } } // namespace v8::internal
6306 6308
6307 #endif // V8_TARGET_ARCH_X64 6309 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/type-info.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698