diff options
Diffstat (limited to 'deps/v8/src/arm64/assembler-arm64.h')
-rw-r--r-- | deps/v8/src/arm64/assembler-arm64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/arm64/assembler-arm64.h b/deps/v8/src/arm64/assembler-arm64.h index ea1d94f628..e4ca410abd 100644 --- a/deps/v8/src/arm64/assembler-arm64.h +++ b/deps/v8/src/arm64/assembler-arm64.h @@ -2134,6 +2134,9 @@ class Assembler : public AssemblerBase { int next_veneer_pool_check_; private: + // Avoid overflows for displacements etc. + static const int kMaximalBufferSize = 512 * MB; + // If a veneer is emitted for a branch instruction, that instruction must be // removed from the associated label's link chain so that the assembler does // not later attempt (likely unsuccessfully) to patch it to branch directly to |