Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 8adb4776a217bbf7354bee07794805258078e86f..4bad5411291d7adfe8ce18538dbee446a7c021d5 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -38,6 +38,14 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
CodeStubAssembler(Isolate* isolate, Zone* zone, int parameter_count, |
Code::Flags flags, const char* name); |
+ enum AllocationFlag : uint8_t { |
+ kNone = 0, |
+ kDoubleAlignment = 1, |
+ kPretenured = 1 << 1 |
+ }; |
+ |
+ typedef base::Flags<AllocationFlag> AllocationFlags; |
+ |
enum ParameterMode { INTEGER_PARAMETERS, SMI_PARAMETERS }; |
compiler::Node* BooleanMapConstant(); |
@@ -589,9 +597,13 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
compiler::Node* top_adddress, |
compiler::Node* limit_address); |
+ compiler::Node* SmiShiftBitsConstant(); |
+ |
static const int kElementLoopUnrollThreshold = 8; |
}; |
+DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
+ |
} // namespace internal |
} // namespace v8 |
#endif // V8_CODE_STUB_ASSEMBLER_H_ |