Changes between Version 8 and Version 9 of Library_IR


Ignore:
Timestamp:
12/11/15 13:02:19 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Library_IR

    v8 v9  
    5151 * copies the value pointed to by `value` to the memory location specified by `ptr`.
    5252* `fun[lib="pointer"] $leaf_node_ptrs(array: Pointer, obj: Pointer)`
    53  * copies the references to the leaf nodes of `obj` to the given `array`. The type of `obj` is `Pointer[T']`, all leaf nodes of `T'` has type `T`, and `array` has type `Pointer[Array[T]]`. For example, `T'` could be `Tuple[<Integer, Array[Integer], Integer>]`
     53 * copies the references to the leaf nodes of `obj` to the given `array`
     54 * Suppose the type of `obj` is `Pointer[T']`, all leaf nodes of `T'` should have the same type `T`, and `array` should have type `Pointer[Array[T]]`.
     55 * For example, `T'` could be `Tuple[<Integer, Array[Integer], Integer>]`.
    5456* `fun[lib="pointer"] $set_leaf_nodes(obj: Pointer, value: Integer)`
    5557 * sets leaf nodes with the given value