mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 869234 - No need for barriers on the LIR constant pool. r=bhackett
This commit is contained in:
parent
e17648d8c9
commit
15c82ffb31
@ -723,7 +723,7 @@ IonScript::copyBailoutTable(const SnapshotOffset *table)
|
||||
}
|
||||
|
||||
void
|
||||
IonScript::copyConstants(const HeapValue *vp)
|
||||
IonScript::copyConstants(const Value *vp)
|
||||
{
|
||||
for (size_t i = 0; i < constantEntries_; i++)
|
||||
constants()[i].init(vp[i]);
|
||||
|
@ -448,7 +448,7 @@ struct IonScript
|
||||
void destroyCaches();
|
||||
void copySnapshots(const SnapshotWriter *writer);
|
||||
void copyBailoutTable(const SnapshotOffset *table);
|
||||
void copyConstants(const HeapValue *vp);
|
||||
void copyConstants(const Value *vp);
|
||||
void copySafepointIndices(const SafepointIndex *firstSafepointIndex, MacroAssembler &masm);
|
||||
void copyOsiIndices(const OsiIndex *firstOsiIndex, MacroAssembler &masm);
|
||||
void copyRuntimeData(const uint8_t *data);
|
||||
|
@ -1256,7 +1256,7 @@ public:
|
||||
class LIRGraph
|
||||
{
|
||||
Vector<LBlock *, 16, IonAllocPolicy> blocks_;
|
||||
Vector<HeapValue, 0, IonAllocPolicy> constantPool_;
|
||||
Vector<Value, 0, IonAllocPolicy> constantPool_;
|
||||
Vector<LInstruction *, 0, IonAllocPolicy> safepoints_;
|
||||
Vector<LInstruction *, 0, IonAllocPolicy> nonCallSafepoints_;
|
||||
uint32_t numVirtualRegisters_;
|
||||
@ -1327,10 +1327,10 @@ class LIRGraph
|
||||
size_t numConstants() const {
|
||||
return constantPool_.length();
|
||||
}
|
||||
HeapValue *constantPool() {
|
||||
Value *constantPool() {
|
||||
return &constantPool_[0];
|
||||
}
|
||||
const HeapValue &getConstant(size_t index) const {
|
||||
const Value &getConstant(size_t index) const {
|
||||
return constantPool_[index];
|
||||
}
|
||||
void setEntrySnapshot(LSnapshot *snapshot) {
|
||||
|
Loading…
Reference in New Issue
Block a user