• Home
  • Raw
  • Download

Lines Matching refs:Bytecodes

57   DCHECK(!Bytecodes::IsJump(node->bytecode()));  in Write()
64 DCHECK(Bytecodes::IsJump(node->bytecode())); in WriteJump()
111 Bytecode prefix = Bytecodes::OperandScaleToPrefixBytecode(operand_scale); in EmitBytecode()
112 bytecodes()->push_back(Bytecodes::ToByte(prefix)); in EmitBytecode()
114 bytecodes()->push_back(Bytecodes::ToByte(bytecode)); in EmitBytecode()
119 Bytecodes::GetOperandSizes(bytecode, operand_scale); in EmitBytecode()
177 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJumpWith8BitOperand()
178 DCHECK(Bytecodes::IsForwardJump(jump_bytecode)); in PatchJumpWith8BitOperand()
179 DCHECK(Bytecodes::IsJumpImmediate(jump_bytecode)); in PatchJumpWith8BitOperand()
180 DCHECK_EQ(Bytecodes::GetOperandType(jump_bytecode, 0), OperandType::kUImm); in PatchJumpWith8BitOperand()
184 if (Bytecodes::ScaleForUnsignedOperand(delta) == OperandScale::kSingle) { in PatchJumpWith8BitOperand()
195 DCHECK_EQ(Bytecodes::SizeForUnsignedOperand(static_cast<uint32_t>(entry)), in PatchJumpWith8BitOperand()
198 bytecodes()->at(jump_location) = Bytecodes::ToByte(jump_bytecode); in PatchJumpWith8BitOperand()
205 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJumpWith16BitOperand()
206 DCHECK(Bytecodes::IsForwardJump(jump_bytecode)); in PatchJumpWith16BitOperand()
207 DCHECK(Bytecodes::IsJumpImmediate(jump_bytecode)); in PatchJumpWith16BitOperand()
208 DCHECK_EQ(Bytecodes::GetOperandType(jump_bytecode, 0), OperandType::kUImm); in PatchJumpWith16BitOperand()
212 if (Bytecodes::ScaleForUnsignedOperand(delta) <= OperandScale::kDouble) { in PatchJumpWith16BitOperand()
224 bytecodes()->at(jump_location) = Bytecodes::ToByte(jump_bytecode); in PatchJumpWith16BitOperand()
235 DCHECK(Bytecodes::IsJumpImmediate( in PatchJumpWith32BitOperand()
236 Bytecodes::FromByte(bytecodes()->at(jump_location)))); in PatchJumpWith32BitOperand()
252 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJump()
256 if (Bytecodes::IsPrefixScalingBytecode(jump_bytecode)) { in PatchJump()
261 operand_scale = Bytecodes::PrefixBytecodeToOperandScale(jump_bytecode); in PatchJump()
263 Bytecodes::FromByte(bytecodes()->at(jump_location + prefix_offset)); in PatchJump()
266 DCHECK(Bytecodes::IsJump(jump_bytecode)); in PatchJump()
284 DCHECK(Bytecodes::IsJump(node->bytecode())); in EmitJump()
294 OperandScale operand_scale = Bytecodes::ScaleForUnsignedOperand(delta); in EmitJump()