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

Unified Diff: src/handles.h

Issue 1458603012: [Interpreter] Add CreateClosure to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Take IV. Created 5 years, 1 month 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/handles.h
diff --git a/src/handles.h b/src/handles.h
index 1f97d6ff7e6d95c76b521baf45938e5f1c5f8243..234bd60c72e629bb6c57517b75dfd9280dc9fddc 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -114,6 +114,10 @@ class Handle final : public HandleBase {
return reinterpret_cast<T*>(HandleBase::operator*());
}
+ V8_INLINE bool operator==(const Handle<T>& other) {
+ return is_identical_to(other);
+ }
+
// Returns the address to where the raw pointer is stored.
V8_INLINE T** location() const {
return reinterpret_cast<T**>(HandleBase::location());

Powered by Google App Engine
This is Rietveld 408576698