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

Unified Diff: src/interpreter/bytecode-flags.h

Issue 2341743003: [interpreter] Inline FastCloneShallowArrayStub into bytecode handler (Closed)
Patch Set: compile issues Created 4 years, 3 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/interpreter/bytecode-flags.h
diff --git a/src/interpreter/bytecode-flags.h b/src/interpreter/bytecode-flags.h
index 1068d8a9d9c39b5daf83c712f5b08cb793532455..8c13731b8b99bfa907e22c60b115c2c1afc9f318 100644
--- a/src/interpreter/bytecode-flags.h
+++ b/src/interpreter/bytecode-flags.h
@@ -11,6 +11,17 @@ namespace v8 {
namespace internal {
namespace interpreter {
+class CreateArrayLiteralFlags {
+ public:
+ class FlagsBits : public BitField8<int, 0, 3> {};
+ class MustUseRuntimeBit : public BitField8<bool, FlagsBits::kNext, 1> {};
rmcilroy 2016/09/16 08:52:26 nit - the other flags use a bit to specify using t
klaasb 2016/09/19 13:53:57 Done.
+
+ static uint8_t Encode(bool must_use_runtime, int runtime_flags);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(CreateArrayLiteralFlags);
+};
+
class CreateObjectLiteralFlags {
public:
class FlagsBits : public BitField8<int, 0, 3> {};

Powered by Google App Engine
This is Rietveld 408576698