Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: src/wasm/leb-helper.h

Issue 2014533003: [wasm] Refactor encoder.h to use a proper buffer and remove OldFunctions section. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/wasm/leb-helper.h
diff --git a/src/wasm/leb-helper.h b/src/wasm/leb-helper.h
index 7ba244d8586683f2cde82df15608403303a8a3c2..0e4ba3418c3ba87ccc6298b69b3a3e7bc99d0a87 100644
--- a/src/wasm/leb-helper.h
+++ b/src/wasm/leb-helper.h
@@ -9,6 +9,9 @@ namespace v8 {
namespace internal {
namespace wasm {
+static const size_t kPaddedVarInt32Size = 5;
+static const size_t kMaxVarInt32Size = 5;
+
class LEBHelper {
public:
// Write a 32-bit unsigned LEB to {dest}, updating {dest} to point after

Powered by Google App Engine
This is Rietveld 408576698