1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef V8_FEEDBACK_SLOTS_H_
6 #define V8_FEEDBACK_SLOTS_H_
15 class FeedbackSlotInterface {
17 static const int kInvalidFeedbackSlot = -1;
19 virtual ~FeedbackSlotInterface() {}
21 virtual int ComputeFeedbackSlotCount() = 0;
22 virtual void SetFirstFeedbackSlot(int slot) = 0;
25 } } // namespace v8::internal
27 #endif // V8_FEEDBACK_SLOTS_H_