Lines Matching refs:bytecodes
46 int bytecode_size = static_cast<int>(bytecodes()->size()); in ToBytecodeArray()
51 bytecode_size, &bytecodes()->front(), frame_size, parameter_count, in ToBytecodeArray()
87 int bytecode_size = static_cast<int>(bytecodes()->size()); in CheckBytecodeMatches()
88 const byte* bytecode_ptr = &bytecodes()->front(); in CheckBytecodeMatches()
157 size_t current_offset = bytecodes()->size(); in BindLabel()
165 size_t current_offset = bytecodes()->size(); in BindLoopHeader()
174 size_t current_offset = bytecodes()->size(); in BindJumpTableEntry()
187 size_t current_offset = bytecodes()->size(); in BindHandlerTarget()
194 size_t current_offset = bytecodes()->size(); in BindTryRegionStart()
206 size_t current_offset = bytecodes()->size(); in BindTryRegionEnd()
223 int bytecode_offset = static_cast<int>(bytecodes()->size()); in UpdateSourcePositionTable()
258 DCHECK_GT(bytecodes()->size(), last_bytecode_offset_); in MaybeElideLastBytecode()
259 bytecodes()->resize(last_bytecode_offset_); in MaybeElideLastBytecode()
266 last_bytecode_offset_ = bytecodes()->size(); in MaybeElideLastBytecode()
281 bytecodes()->push_back(Bytecodes::ToByte(prefix)); in EmitBytecode()
283 bytecodes()->push_back(Bytecodes::ToByte(bytecode)); in EmitBytecode()
295 bytecodes()->push_back(static_cast<uint8_t>(operands[i])); in EmitBytecode()
300 bytecodes()->push_back(raw_operand[0]); in EmitBytecode()
301 bytecodes()->push_back(raw_operand[1]); in EmitBytecode()
307 bytecodes()->push_back(raw_operand[0]); in EmitBytecode()
308 bytecodes()->push_back(raw_operand[1]); in EmitBytecode()
309 bytecodes()->push_back(raw_operand[2]); in EmitBytecode()
310 bytecodes()->push_back(raw_operand[3]); in EmitBytecode()
349 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJumpWith8BitOperand()
355 DCHECK_EQ(bytecodes()->at(operand_location), k8BitJumpPlaceholder); in PatchJumpWith8BitOperand()
360 bytecodes()->at(operand_location) = static_cast<uint8_t>(delta); in PatchJumpWith8BitOperand()
370 bytecodes()->at(jump_location) = Bytecodes::ToByte(jump_bytecode); in PatchJumpWith8BitOperand()
371 bytecodes()->at(operand_location) = static_cast<uint8_t>(entry); in PatchJumpWith8BitOperand()
377 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJumpWith16BitOperand()
397 bytecodes()->at(jump_location) = Bytecodes::ToByte(jump_bytecode); in PatchJumpWith16BitOperand()
401 DCHECK(bytecodes()->at(operand_location) == k8BitJumpPlaceholder && in PatchJumpWith16BitOperand()
402 bytecodes()->at(operand_location + 1) == k8BitJumpPlaceholder); in PatchJumpWith16BitOperand()
403 bytecodes()->at(operand_location++) = operand_bytes[0]; in PatchJumpWith16BitOperand()
404 bytecodes()->at(operand_location) = operand_bytes[1]; in PatchJumpWith16BitOperand()
410 Bytecodes::FromByte(bytecodes()->at(jump_location)))); in PatchJumpWith32BitOperand()
416 DCHECK(bytecodes()->at(operand_location) == k8BitJumpPlaceholder && in PatchJumpWith32BitOperand()
417 bytecodes()->at(operand_location + 1) == k8BitJumpPlaceholder && in PatchJumpWith32BitOperand()
418 bytecodes()->at(operand_location + 2) == k8BitJumpPlaceholder && in PatchJumpWith32BitOperand()
419 bytecodes()->at(operand_location + 3) == k8BitJumpPlaceholder); in PatchJumpWith32BitOperand()
420 bytecodes()->at(operand_location++) = operand_bytes[0]; in PatchJumpWith32BitOperand()
421 bytecodes()->at(operand_location++) = operand_bytes[1]; in PatchJumpWith32BitOperand()
422 bytecodes()->at(operand_location++) = operand_bytes[2]; in PatchJumpWith32BitOperand()
423 bytecodes()->at(operand_location) = operand_bytes[3]; in PatchJumpWith32BitOperand()
427 Bytecode jump_bytecode = Bytecodes::FromByte(bytecodes()->at(jump_location)); in PatchJump()
438 Bytecodes::FromByte(bytecodes()->at(jump_location + prefix_offset)); in PatchJump()
463 size_t current_offset = bytecodes()->size(); in EmitJumpLoop()
483 size_t current_offset = bytecodes()->size(); in EmitJump()
516 size_t current_offset = bytecodes()->size(); in EmitSwitch()