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

Unified Diff: src/compiler/register-allocator.cc

Issue 704193007: [turbofan] add gap move verifier (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 1 month 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/compiler/register-allocator.cc
diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc
index 0069df8834b1096ee9ab980693298efd97fc4ea2..23a7df6e9c0b839654a85aab18e455466e555c85 100644
--- a/src/compiler/register-allocator.cc
+++ b/src/compiler/register-allocator.cc
@@ -5,7 +5,6 @@
#include "src/compiler/linkage.h"
#include "src/compiler/pipeline-statistics.h"
#include "src/compiler/register-allocator.h"
-#include "src/compiler/register-allocator-verifier.h"
#include "src/string-stream.h"
namespace v8 {
@@ -1117,16 +1116,7 @@ void RegisterAllocator::ResolvePhis(const InstructionBlock* block) {
}
-bool RegisterAllocator::Allocate(PipelineStatistics* stats,
- VerificationType verification_type) {
- SmartPointer<Zone> verifier_zone;
- RegisterAllocatorVerifier* verifier = NULL;
- if (verification_type == kVerifyAssignment) {
- // Don't track usage for this zone in compiler stats.
- verifier_zone.Reset(new Zone(local_zone()->isolate()));
- verifier = new (verifier_zone.get())
- RegisterAllocatorVerifier(verifier_zone.get(), code());
- }
+bool RegisterAllocator::Allocate(PipelineStatistics* stats) {
assigned_registers_ = new (code_zone())
BitVector(config()->num_general_registers(), code_zone());
assigned_double_registers_ = new (code_zone())
@@ -1168,9 +1158,6 @@ bool RegisterAllocator::Allocate(PipelineStatistics* stats,
}
frame()->SetAllocatedRegisters(assigned_registers_);
frame()->SetAllocatedDoubleRegisters(assigned_double_registers_);
- if (verifier != NULL) {
- verifier->VerifyAssignment();
- }
return true;
}

Powered by Google App Engine
This is Rietveld 408576698