| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index f2571e3c6ddf2f815a81dc494274f6d7a4eb7358..e116f9705cc3fbb6f05c46ecfa375163f8b16430 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -584,15 +584,17 @@ Handle<Code> Pipeline::GenerateCode(Linkage* linkage, PipelineData* data) {
|
| ZonePool::Scope zone_scope(data->zone_pool());
|
|
|
| SmartArrayPointer<char> debug_name;
|
| + RegisterAllocator::VerificationType verification_type =
|
| + RegisterAllocator::kNoVerify;
|
| #ifdef DEBUG
|
| debug_name = GetDebugName(info());
|
| + verification_type = RegisterAllocator::kVerifyAssignment;
|
| #endif
|
|
|
| -
|
| RegisterAllocator allocator(RegisterConfiguration::ArchDefault(),
|
| zone_scope.zone(), &frame, &sequence,
|
| debug_name.get());
|
| - if (!allocator.Allocate(data->pipeline_statistics())) {
|
| + if (!allocator.Allocate(data->pipeline_statistics(), verification_type)) {
|
| info()->AbortOptimization(kNotEnoughVirtualRegistersRegalloc);
|
| return Handle<Code>::null();
|
| }
|
|
|