Lines Matching refs:instruction

105 // A ABS32 to REL32 instruction emits a reference to a label's address.
117 // An ARM REL32 instruction emits a reference to a label's address and
149 Instruction* instruction = instructions_[i];
150 if (instruction->op() != DEFBYTE) // Will be in byte_instruction_cache_.
151 delete instruction;
224 const Instruction* instruction) const {
225 if (instruction->op() == ABS32)
226 return static_cast<const InstructionWithLabel*>(instruction)->label();
231 const Instruction* instruction) const {
232 if (instruction->op() == REL32 || instruction->op() == REL32ARM) {
234 static_cast<const InstructionWithLabel*>(instruction)->label();
240 CheckBool AssemblyProgram::Emit(Instruction* instruction) {
241 if (!instruction)
243 bool ok = instructions_.push_back(instruction);
245 delete instruction;
406 Instruction* instruction = instructions_[i];
408 switch (instruction->op()) {
410 OriginInstruction* org = static_cast<OriginInstruction*>(instruction);
416 uint8 b = static_cast<ByteInstruction*>(instruction)->byte_value();
423 static_cast<BytesInstruction*>(instruction)->byte_values();
424 uint32 len = static_cast<BytesInstruction*>(instruction)->len();
431 Label* label = static_cast<InstructionWithLabel*>(instruction)->label();
438 static_cast<InstructionWithLabelARM*>(instruction)->label();
440 static_cast<InstructionWithLabelARM*>(instruction)->
447 Label* label = static_cast<InstructionWithLabel*>(instruction)->label();
521 // with the original machine instruction
523 Instruction* instruction = instructions_[i];
524 switch (instruction->op()) {
527 static_cast<InstructionWithLabelARM*>(instruction)->label();
530 static_cast<InstructionWithLabelARM*>(instruction)->arm_op();
532 static_cast<InstructionWithLabelARM*>(instruction)->op_size();