void CodeGeneratorX86::linkAbsoluteLabels() { JSScript *script = gen->info().script(); IonCode *method = script->ion->method(); for (size_t i = 0; i < deferredDoubles_.length(); i++) { DeferredDouble *d = deferredDoubles_[i]; const Value &v = script->ion->getConstant(d->index()); MacroAssembler::Bind(method, d->label(), &v); } }
void CodeGeneratorX86::linkAbsoluteLabels() { ExecutionMode executionMode = gen->info().executionMode(); UnrootedScript script = gen->info().script(); IonScript *ionScript = GetIonScript(script, executionMode); IonCode *method = ionScript->method(); for (size_t i = 0; i < deferredDoubles_.length(); i++) { DeferredDouble *d = deferredDoubles_[i]; const Value &v = ionScript->getConstant(d->index()); MacroAssembler::Bind(method, d->label(), &v); } }