mirror of
https://github.com/corda/corda.git
synced 2025-02-01 16:58:27 +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;
|
Site* target;
|
||||||
Value* buddy;
|
Value* buddy;
|
||||||
Value* nextWord;
|
Value* nextWord;
|
||||||
int8_t home;
|
int16_t home;
|
||||||
ValueType type;
|
ValueType type;
|
||||||
uint8_t wordIndex;
|
uint8_t wordIndex;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user