mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:52:45 +00:00 
			
		
		
		
	LibJS/JIT: Support Imm32 operands in Assembler::push()
This commit is contained in:
		
							parent
							
								
									71e41418f6
								
							
						
					
					
						commit
						2e6c02f088
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -312,6 +312,9 @@ struct Assembler { | |||
|             if (to_underlying(op.reg) >= 8) | ||||
|                 emit8(0x49); | ||||
|             emit8(0x50 | encode_reg(op.reg)); | ||||
|         } else if (op.type == Operand::Type::Imm32) { | ||||
|             emit8(0x68); | ||||
|             emit32(op.offset_or_immediate); | ||||
|         } else { | ||||
|             VERIFY_NOT_REACHED(); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling