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

Unified Diff: src/globals.h

Issue 2223523002: [Interpreter] Avoid dereferencing handles on BytecodeGenerator for AST operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@offheap_const_array
Patch Set: Created 4 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/globals.h
diff --git a/src/globals.h b/src/globals.h
index 71edc036bafea45f090503664d2b1c6af9f0d327..95115e09bd1036812655b405ba9dc2130be07c80 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -815,6 +815,11 @@ enum class CreateArgumentsType : uint8_t {
kRestParameter
};
+enum class HandleDereferenceMode {
+ kHandleDereferenceAllowed,
adamk 2016/08/05 18:38:10 These can just be kAllowed and kDisallowed, since
marja 2016/08/08 08:20:13 +1
rmcilroy 2016/08/08 13:05:56 Good point! :). Done.
+ kHandleDereferenceDisallowed
+};
+
inline size_t hash_value(CreateArgumentsType type) {
return bit_cast<uint8_t>(type);
}

Powered by Google App Engine
This is Rietveld 408576698