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

Unified Diff: src/x64/code-stubs-x64.cc

Issue 499343002: Added vector-based loadic hydrogen stubs. Not yet callable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: More comments. Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« src/arm64/code-stubs-arm64.cc ('K') | « src/ic/ic.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/code-stubs-x64.cc
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
index 4797ea4e6bc53e7a0ca6725b08988b0d68aacef3..4d48093c16565a4440bdf31a2d7f480353d307bd 100644
--- a/src/x64/code-stubs-x64.cc
+++ b/src/x64/code-stubs-x64.cc
@@ -4441,6 +4441,19 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) {
}
+void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
+ if (GetCodeKind() == Code::KEYED_LOAD_IC) {
+ VectorKeyedLoadStub stub(isolate());
+ __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET);
+ } else {
+ DCHECK(GetCodeKind() == Code::LOAD_IC);
+ VectorLoadStub stub(isolate(), state_);
+ __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET);
+ }
+}
+
+
void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) {
if (masm->isolate()->function_entry_hook() != NULL) {
ProfileEntryHookStub stub(masm->isolate());
« src/arm64/code-stubs-arm64.cc ('K') | « src/ic/ic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698