Bug 1058077 - IonMonkey: Eliminate the unused osrStart_ field form MIRGraph r=sstangl

This commit is contained in:
Dan Gohman 2014-08-25 15:03:24 -07:00
parent 1c3d6b8f1e
commit 095eea2a14
2 changed files with 0 additions and 9 deletions

View File

@ -5982,7 +5982,6 @@ IonBuilder::newOsrPreheader(MBasicBlock *predecessor, jsbytecode *loopEntry)
// Create an MStart to hold the first valid MResumePoint.
MStart *start = MStart::New(alloc(), MStart::StartType_Osr);
osrBlock->add(start);
graph().setOsrStart(start);
// MOsrValue instructions are infallible, so the first MResumePoint must
// occur after they execute, at the point of the MStart.

View File

@ -651,7 +651,6 @@ class MIRGraph
uint32_t blockIdGen_;
uint32_t idGen_;
MBasicBlock *osrBlock_;
MStart *osrStart_;
size_t numBlocks_;
bool hasTryBlock_;
@ -663,7 +662,6 @@ class MIRGraph
blockIdGen_(0),
idGen_(0),
osrBlock_(nullptr),
osrStart_(nullptr),
numBlocks_(0),
hasTryBlock_(false)
{ }
@ -765,12 +763,6 @@ class MIRGraph
MBasicBlock *osrBlock() {
return osrBlock_;
}
void setOsrStart(MStart *osrStart) {
osrStart_ = osrStart;
}
MStart *osrStart() {
return osrStart_;
}
bool hasTryBlock() const {
return hasTryBlock_;