View source code
Display the source code in dmd/backend/cgen.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.backend.cgen.gen

Add code to end of linked list. Note that unused operands are garbage. gen1() and gen2() are shortcut routines.

extern(C++) dmd.backend.code_x86.code* gen (
  dmd.backend.code_x86.code* c,
  dmd.backend.code_x86.code* cs
);

Input

c -> linked list that code is to be added to end of cs -> data for the code

Returns

pointer to start of code list

Authors

Walter Bright

License

Boost License 1.0