aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm/leb-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/wasm/leb-helper.h')
-rw-r--r--deps/v8/src/wasm/leb-helper.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/v8/src/wasm/leb-helper.h b/deps/v8/src/wasm/leb-helper.h
index 0e4ba3418c..b598ee8578 100644
--- a/deps/v8/src/wasm/leb-helper.h
+++ b/deps/v8/src/wasm/leb-helper.h
@@ -5,12 +5,16 @@
#ifndef V8_WASM_LEB_HELPER_H_
#define V8_WASM_LEB_HELPER_H_
+#include <cstddef>
+#include <cstdint>
+
namespace v8 {
namespace internal {
namespace wasm {
-static const size_t kPaddedVarInt32Size = 5;
-static const size_t kMaxVarInt32Size = 5;
+constexpr size_t kPaddedVarInt32Size = 5;
+constexpr size_t kMaxVarInt32Size = 5;
+constexpr size_t kMaxVarInt64Size = 10;
class LEBHelper {
public: