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

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: nits 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
OLDNEW
1 // Copyright 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 5947 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},
5974 // ElementsTransitionGenerator::GenerateSmiOnlyToDouble 5975 // ElementsTransitionGenerator::GenerateSmiOnlyToDouble
5975 // and ElementsTransitionGenerator::GenerateDoubleToObject 5976 // and ElementsTransitionGenerator::GenerateDoubleToObject
5976 { rdx, r11, r15, EMIT_REMEMBERED_SET}, 5977 { rdx, r11, r15, EMIT_REMEMBERED_SET},
5977 // ElementsTransitionGenerator::GenerateDoubleToObject 5978 // ElementsTransitionGenerator::GenerateDoubleToObject
5978 { r11, rax, r15, EMIT_REMEMBERED_SET}, 5979 { r11, rax, r15, EMIT_REMEMBERED_SET},
5979 // StoreArrayLiteralElementStub::Generate 5980 // StoreArrayLiteralElementStub::Generate
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
6298 xmm0, 6299 xmm0,
6299 &slow_elements); 6300 &slow_elements);
6300 __ ret(0); 6301 __ ret(0);
6301 } 6302 }
6302 6303
6303 #undef __ 6304 #undef __
6304 6305
6305 } } // namespace v8::internal 6306 } } // namespace v8::internal
6306 6307
6307 #endif // V8_TARGET_ARCH_X64 6308 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698