Lines Matching refs:jump_location
266 void BytecodeArrayWriter::PatchJumpWith8BitOperand(size_t jump_location, in PatchJumpWith8BitOperand() argument
268 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJumpWith8BitOperand()
273 size_t operand_location = jump_location + 1; in PatchJumpWith8BitOperand()
289 bytecodes()->at(jump_location) = Bytecodes::ToByte(jump_bytecode); in PatchJumpWith8BitOperand()
294 void BytecodeArrayWriter::PatchJumpWith16BitOperand(size_t jump_location, in PatchJumpWith16BitOperand() argument
296 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJumpWith16BitOperand()
301 size_t operand_location = jump_location + 1; in PatchJumpWith16BitOperand()
316 bytecodes()->at(jump_location) = Bytecodes::ToByte(jump_bytecode); in PatchJumpWith16BitOperand()
326 void BytecodeArrayWriter::PatchJumpWith32BitOperand(size_t jump_location, in PatchJumpWith32BitOperand() argument
329 Bytecodes::FromByte(bytecodes()->at(jump_location)))); in PatchJumpWith32BitOperand()
334 size_t operand_location = jump_location + 1; in PatchJumpWith32BitOperand()
345 void BytecodeArrayWriter::PatchJump(size_t jump_target, size_t jump_location) { in PatchJump() argument
346 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJump()
347 int delta = static_cast<int>(jump_target - jump_location); in PatchJump()
357 Bytecodes::FromByte(bytecodes()->at(jump_location + prefix_offset)); in PatchJump()
363 PatchJumpWith8BitOperand(jump_location, delta); in PatchJump()
366 PatchJumpWith16BitOperand(jump_location + prefix_offset, delta); in PatchJump()
369 PatchJumpWith32BitOperand(jump_location + prefix_offset, delta); in PatchJump()