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

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: Rebase 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
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher-job.cc ('k') | src/interpreter/bytecode-array-writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 2956884d54aa39c89e26b04ac49171b04973a0f5..b2ba78013053c484e7adcd02a4253e24db3cec7f 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -816,6 +816,8 @@ enum class CreateArgumentsType : uint8_t {
kRestParameter
};
+enum class HandleDereferenceMode { kAllowed, kDisallowed };
+
inline size_t hash_value(CreateArgumentsType type) {
return bit_cast<uint8_t>(type);
}
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher-job.cc ('k') | src/interpreter/bytecode-array-writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698