Chromium Code Reviews| 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> {}; |