Skip to content

Conversation

mgudemann
Copy link
Contributor

The is_true() / is_false() functions in exprt currently support
only the ID_bool type. In Java, Boolean values are represented as
ID_c_bool due to the internal JVM usage of integers. Adding this
support here seems easier than having special treatment in
java_bytecode.

cf. #221

The `is_true()` / `is_false()` functions in `exprt` currently support
only the `ID_bool` type. In Java, Boolean values are represented as
`ID_c_bool` due to the internal JVM usage of integers. Adding this
support here seems easier than having special treatment in
`java_bytecode`.
@kroening
Copy link
Collaborator

kroening commented Feb 8, 2017

bool is very different from c_bool, and any confusion between the two should be avoided. In general, there shouldn't be anything language-specific in util/*.

NathanJPhillips pushed a commit to NathanJPhillips/cbmc that referenced this pull request Aug 22, 2018
Add GPG keys to improve Travis build stability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants