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

Unified Diff: src/ic/arm64/ic-conventions-arm64.cc

Issue 523583002: Multiple stubs can point to the same calling convention. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. 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
« no previous file with comments | « src/ic/arm/ic-conventions-arm.cc ('k') | src/ic/ia32/ic-conventions-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/arm64/ic-conventions-arm64.cc
diff --git a/src/ic/arm64/ic-conventions-arm64.cc b/src/ic/arm64/ic-conventions-arm64.cc
index 53c846e3cb2f63ddfa9c6b22b8471cf0b64e6d6b..4de2a574e00150875f0b574ee7722a1f0db87fbb 100644
--- a/src/ic/arm64/ic-conventions-arm64.cc
+++ b/src/ic/arm64/ic-conventions-arm64.cc
@@ -16,16 +16,11 @@ namespace internal {
const Register LoadConvention::ReceiverRegister() { return x1; }
const Register LoadConvention::NameRegister() { return x2; }
-const Register VectorLoadConvention::SlotRegister() {
- DCHECK(FLAG_vector_ics);
- return x0;
-}
+const Register VectorLoadConvention::SlotRegister() { return x0; }
-const Register FullVectorLoadConvention::VectorRegister() {
- DCHECK(FLAG_vector_ics);
- return x3;
-}
+
+const Register FullVectorLoadConvention::VectorRegister() { return x3; }
const Register StoreConvention::ReceiverRegister() { return x1; }
@@ -34,6 +29,18 @@ const Register StoreConvention::ValueRegister() { return x0; }
const Register StoreConvention::MapRegister() { return x3; }
+
+
+const Register InstanceofConvention::left() {
+ // Object to check (instanceof lhs).
+ return x11;
+}
+
+
+const Register InstanceofConvention::right() {
+ // Constructor function (instanceof rhs).
+ return x10;
+}
}
} // namespace v8::internal
« no previous file with comments | « src/ic/arm/ic-conventions-arm.cc ('k') | src/ic/ia32/ic-conventions-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698