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

Unified Diff: src/ic/ic-conventions.h

Issue 527093002: Make concrete classes for individual call descriptors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: src/ic/ic-conventions.h
diff --git a/src/ic/ic-conventions.h b/src/ic/ic-conventions.h
deleted file mode 100644
index 28d4d66a068e505cab04d3876f08cbaa738e060b..0000000000000000000000000000000000000000
--- a/src/ic/ic-conventions.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright 2014 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_IC_CONVENTIONS_H_
-#define V8_IC_CONVENTIONS_H_
-
-namespace v8 {
-namespace internal {
-
-class LoadConvention {
- public:
- enum ParameterIndices { kReceiverIndex, kNameIndex, kParameterCount };
- static const Register ReceiverRegister();
- static const Register NameRegister();
-};
-
-
-class VectorLoadConvention : public LoadConvention {
- public:
- enum ParameterIndices {
- kReceiverIndex,
- kNameIndex,
- kSlotIndex,
- kParameterCount
- };
- static const Register SlotRegister();
-};
-
-
-class FullVectorLoadConvention : public VectorLoadConvention {
- public:
- enum ParameterIndices {
- kReceiverIndex,
- kNameIndex,
- kSlotIndex,
- kVectorIndex,
- kParameterCount
- };
- static const Register VectorRegister();
-};
-
-
-class StoreConvention {
- public:
- enum ParameterIndices {
- kReceiverIndex,
- kNameIndex,
- kValueIndex,
- kParameterCount
- };
- static const Register ReceiverRegister();
- static const Register NameRegister();
- static const Register ValueRegister();
-
- // The map register isn't part of the normal call specification, but
- // ElementsTransitionAndStoreStub, used in polymorphic keyed store
- // stub implementations requires it to be initialized.
- static const Register MapRegister();
-};
-
-
-class InstanceofConvention {
- public:
- enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount };
- static const Register left();
- static const Register right();
-};
-}
-} // namespace v8::internal
-
-#endif // V8_IC_CONVENTIONS_H_

Powered by Google App Engine
This is Rietveld 408576698