mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
fix Value::home integer overflow
A method with a large number of local variable slots may imply offsets larger than a int8_t can represent, so we now use an int16_t instead.
This commit is contained in:
parent
960bd28296
commit
3e93d5d337
@ -326,7 +326,7 @@ class Value: public Compiler::Operand {
|
||||
Site* target;
|
||||
Value* buddy;
|
||||
Value* nextWord;
|
||||
int8_t home;
|
||||
int16_t home;
|
||||
ValueType type;
|
||||
uint8_t wordIndex;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user