mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
Bug 1734334 - Use correct pointer type to store address of barrier flag r=lth
Differential Revision: https://phabricator.services.mozilla.com/D127621
This commit is contained in:
parent
d6098a8b00
commit
c5dbbe6a94
@ -1288,7 +1288,7 @@ bool Instance::init(JSContext* cx, const JSFunctionVector& funcImports,
|
||||
tlsData()->resetInterrupt(cx);
|
||||
tlsData()->jumpTable = code_->tieringJumpTable();
|
||||
tlsData()->addressOfNeedsIncrementalBarrier =
|
||||
(uint8_t*)cx->compartment()->zone()->addressOfNeedsIncrementalBarrier();
|
||||
cx->compartment()->zone()->addressOfNeedsIncrementalBarrier();
|
||||
|
||||
// Initialize function imports in the tls data
|
||||
Tier callerTier = code_->bestTier();
|
||||
|
@ -87,7 +87,7 @@ struct TlsData {
|
||||
// Set to 1 when wasm should call CheckForInterrupt.
|
||||
Atomic<uint32_t, mozilla::Relaxed> interrupt;
|
||||
|
||||
uint8_t* addressOfNeedsIncrementalBarrier;
|
||||
const uint32_t* addressOfNeedsIncrementalBarrier;
|
||||
|
||||
// Methods to set, test and clear the above two fields. Both interrupt
|
||||
// fields are Relaxed and so no consistency/ordering can be assumed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user