mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1058077 - IonMonkey: Eliminate the unused osrStart_ field form MIRGraph r=sstangl
This commit is contained in:
parent
1c3d6b8f1e
commit
095eea2a14
@ -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.
|
||||
|
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user