Changeset 226556 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Jan 8, 2018, 2:59:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
r226530 r226556 371 371 ScriptExecutable* ownerScriptExecutable() const { return jsCast<ScriptExecutable*>(m_ownerExecutable.get()); } 372 372 373 VM* vm() const { return m_ vm.unpoisoned(); }373 VM* vm() const { return m_poisonedVM.unpoisoned(); } 374 374 375 375 void setThisRegister(VirtualRegister thisRegister) { m_thisRegister = thisRegister; } … … 549 549 unsigned result = m_constantRegisters.size(); 550 550 m_constantRegisters.append(WriteBarrier<Unknown>()); 551 m_constantRegisters.last().set(*m_ vm, this, v);551 m_constantRegisters.last().set(*m_poisonedVM, this, v); 552 552 m_constantsSourceCodeRepresentation.append(SourceCodeRepresentation::Other); 553 553 return result; … … 578 578 const BitVector& bitVector(size_t i) { return m_unlinkedCode->bitVector(i); } 579 579 580 Heap* heap() const { return &m_ vm->heap; }580 Heap* heap() const { return &m_poisonedVM->heap; } 581 581 JSGlobalObject* globalObject() { return m_globalObject.get(); } 582 582 … … 937 937 { 938 938 ASSERT(isConstantRegisterIndex(index) && static_cast<size_t>(index - FirstConstantRegisterIndex) < m_constantRegisters.size()); 939 m_constantRegisters[index - FirstConstantRegisterIndex].set(*m_ vm, this, value);939 m_constantRegisters[index - FirstConstantRegisterIndex].set(*m_poisonedVM, this, value); 940 940 } 941 941 … … 983 983 }; 984 984 WriteBarrier<ExecutableBase> m_ownerExecutable; 985 ConstExprPoisoned<CodeBlockPoison, VM*> m_ vm;985 ConstExprPoisoned<CodeBlockPoison, VM*> m_poisonedVM; 986 986 987 987 PoisonedRefCountedArray<CodeBlockPoison, Instruction> m_instructions;
Note:
See TracChangeset
for help on using the changeset viewer.