summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
30d088f)
This will fix the minus operation on certain OS/compilers.
stack.top() = - (intptr_t) stack.top();
break;
stack.top() = - (intptr_t) stack.top();
break;
- case DW_OP_minus:
- stack.push(stack.pop() - stack.pop());
+ case DW_OP_minus: {
+ intptr_t first = stack.pop();
+ intptr_t second = stack.pop();
+ stack.push(second - first);
case DW_OP_and:
stack.push(stack.pop() & stack.pop());
case DW_OP_and:
stack.push(stack.pop() & stack.pop());