com.kenai.jnr.x86asm
Enum ERROR_CODE

java.lang.Object
  extended by java.lang.Enum<ERROR_CODE>
      extended by com.kenai.jnr.x86asm.ERROR_CODE
All Implemented Interfaces:
Serializable, Comparable<ERROR_CODE>

Deprecated.

@Deprecated
public enum ERROR_CODE
extends Enum<ERROR_CODE>


Enum Constant Summary
_ERROR_COUNT
          Deprecated. Count of error codes by AsmJit.
ERROR_ILLEGAL_ADDRESING
          Deprecated. Illegal addressing used (unencodable).
ERROR_ILLEGAL_INSTRUCTION
          Deprecated. Illegal instruction.
ERROR_ILLEGAL_SHORT_JUMP
          Deprecated. Short jump instruction used, but displacement is out of bounds.
ERROR_NO_HEAP_MEMORY
          Deprecated. Memory allocation error (@c ASMJIT_MALLOC returned @c NULL).
ERROR_NO_VIRTUAL_MEMORY
          Deprecated. Virtual memory allocation error (@c VirtualMemory returned @c NULL).
ERROR_NONE
          Deprecated. No error (success).
ERROR_UNKNOWN_INSTRUCTION
          Deprecated. Unknown instruction.
 
Method Summary
 int intValue()
          Deprecated.  
static ERROR_CODE valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static ERROR_CODE[] values()
          Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR_NONE

public static final ERROR_CODE ERROR_NONE
Deprecated. 
No error (success).


ERROR_NO_HEAP_MEMORY

public static final ERROR_CODE ERROR_NO_HEAP_MEMORY
Deprecated. 
Memory allocation error (@c ASMJIT_MALLOC returned @c NULL).


ERROR_NO_VIRTUAL_MEMORY

public static final ERROR_CODE ERROR_NO_VIRTUAL_MEMORY
Deprecated. 
Virtual memory allocation error (@c VirtualMemory returned @c NULL).


ERROR_UNKNOWN_INSTRUCTION

public static final ERROR_CODE ERROR_UNKNOWN_INSTRUCTION
Deprecated. 
Unknown instruction. This happens only if instruction code is out of bounds. Shouldn't happen.


ERROR_ILLEGAL_INSTRUCTION

public static final ERROR_CODE ERROR_ILLEGAL_INSTRUCTION
Deprecated. 
Illegal instruction. Usually generated by AsmJit::AssemblerCore class when emitting instruction opcode. If this error is generated the target buffer is not affected by this invalid instruction. In debug mode you get assertion failure instead.


ERROR_ILLEGAL_ADDRESING

public static final ERROR_CODE ERROR_ILLEGAL_ADDRESING
Deprecated. 
Illegal addressing used (unencodable).


ERROR_ILLEGAL_SHORT_JUMP

public static final ERROR_CODE ERROR_ILLEGAL_SHORT_JUMP
Deprecated. 
Short jump instruction used, but displacement is out of bounds.


_ERROR_COUNT

public static final ERROR_CODE _ERROR_COUNT
Deprecated. 
Count of error codes by AsmJit. Can grow in future.

Method Detail

values

public static ERROR_CODE[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ERROR_CODE c : ERROR_CODE.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ERROR_CODE valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

intValue

public final int intValue()
Deprecated. 


Copyright © 2012. All Rights Reserved.