View source code
Display the source code in dmd/backend/cod1.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.cod1.logexp

Generate code for a logical expression.

void logexp (
  ref dmd.backend.codebuilder.CodeBuilder cdb,
  elem* e,
  int jcond,
  uint fltarg,
  dmd.backend.code_x86.code* targ
) nothrow @trusted;

Input

e elem jcond bit 1 if true then goto jump address if e if false then goto jump address if !e 2 don't call save87() fltarg FLcode or FLblock, flavor of target if e evaluates to jcond targ either code or block pointer to destination

Authors

Walter Bright

License

Boost License 1.0