Index: src/compiler/register-allocator.h |
diff --git a/src/compiler/register-allocator.h b/src/compiler/register-allocator.h |
index a6578af7ecb727894f7e290f1cbbc2c28e8d1460..690957dfd02363c5c45fa87e0f24a07f45cbd89b 100644 |
--- a/src/compiler/register-allocator.h |
+++ b/src/compiler/register-allocator.h |
@@ -322,12 +322,15 @@ class LiveRange FINAL : public ZoneObject { |
class RegisterAllocator FINAL { |
public: |
+ enum VerificationType { kNoVerify, kVerifyAssignment }; |
+ |
explicit RegisterAllocator(const RegisterConfiguration* config, |
Zone* local_zone, Frame* frame, |
InstructionSequence* code, |
const char* debug_name = nullptr); |
- bool Allocate(PipelineStatistics* stats = NULL); |
+ bool Allocate(PipelineStatistics* stats = NULL, |
+ VerificationType verification_type = kNoVerify); |
bool AllocationOk() { return allocation_ok_; } |
BitVector* assigned_registers() { return assigned_registers_; } |
BitVector* assigned_double_registers() { return assigned_double_registers_; } |