C++: Respond to PR reviews.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-02-14 09:51:48 +00:00
parent bda46b3748
commit b01a45f7be

View File

@@ -119,7 +119,7 @@ abstract class InstructionNode0 extends Node0Impl {
result = instr.getOpcode().toString()
}
final override predicate isGLValue() { instr.isGLValue() }
final override predicate isGLValue() { exists(getInstructionType(instr, true)) }
}
/**
@@ -160,7 +160,7 @@ abstract class OperandNode0 extends Node0Impl {
override string toStringImpl() { result = op.toString() }
final override predicate isGLValue() { op.isGLValue() }
final override predicate isGLValue() { exists(getOperandType(op, true)) }
}
/**