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

Unified Diff: src/compiler/js-operator.h

Issue 1321223002: [turbofan] Remove obsolete unique.h includes in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-isolate-2
Patch Set: Created 5 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
Index: src/compiler/js-operator.h
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h
index 0f4fd3572029a0e44931c3ff128b1c2dbb227c8c..c5e60709697356265f53ffd511abb9e918110e33 100644
--- a/src/compiler/js-operator.h
+++ b/src/compiler/js-operator.h
@@ -6,7 +6,6 @@
#define V8_COMPILER_JS_OPERATOR_H_
#include "src/runtime/runtime.h"
-#include "src/unique.h"
namespace v8 {
namespace internal {
@@ -30,10 +29,7 @@ class VectorSlotPair {
MaybeHandle<TypeFeedbackVector> vector() const { return vector_; }
FeedbackVectorICSlot slot() const { return slot_; }
- int index() const {
- Handle<TypeFeedbackVector> vector;
- return vector_.ToHandle(&vector) ? vector->GetIndex(slot_) : -1;
- }
+ int index() const;
private:
const MaybeHandle<TypeFeedbackVector> vector_;
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | src/unique.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698