forked from M-Labs/artiq
compiler: document Target.little_endian
This commit is contained in:
parent
981a77834a
commit
421834fa3e
|
@ -75,11 +75,15 @@ class Target:
|
||||||
:var print_function: (string)
|
:var print_function: (string)
|
||||||
Name of a formatted print functions (with the signature of ``printf``)
|
Name of a formatted print functions (with the signature of ``printf``)
|
||||||
provided by the target, e.g. ``"printf"``.
|
provided by the target, e.g. ``"printf"``.
|
||||||
|
:var little_endian: (boolean)
|
||||||
|
Whether the code will be executed on a little-endian machine. This cannot be always
|
||||||
|
determined from data_layout due to JIT.
|
||||||
"""
|
"""
|
||||||
triple = "unknown"
|
triple = "unknown"
|
||||||
data_layout = ""
|
data_layout = ""
|
||||||
features = []
|
features = []
|
||||||
print_function = "printf"
|
print_function = "printf"
|
||||||
|
little_endian = False
|
||||||
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue