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

Unified Diff: src/handles.h

Issue 1466643002: [turbofan] Initial support for Array constructor specialization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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..dcb5c96d834d2a2e6cf09c012ea93bfb1b61eab7 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -222,6 +222,9 @@ class MaybeHandle final {
}
}
+ // Returns the address to where the raw pointer is stored.
+ V8_INLINE T** location() const { return location_; }
Michael Starzinger 2015/11/20 12:06:47 Nah, I worked so hard to get rid of this accessor.
Benedikt Meurer 2015/11/20 12:28:53 Done.
+
bool is_null() const { return location_ == nullptr; }
protected:
« src/compiler/verifier.cc ('K') | « src/compiler/verifier.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698