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

Unified Diff: src/WasmTranslator.h

Issue 1918213003: Subzero, Wasm: Dynamically reallocate read buffer. Runtime improvements. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 8 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
« no previous file with comments | « src/IceCompiler.cpp ('k') | src/WasmTranslator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/WasmTranslator.h
diff --git a/src/WasmTranslator.h b/src/WasmTranslator.h
index 7b023b30ec8da4c274ebfdff5ec2caee3c8f38e1..dbc594a96c736fca061a0c4bb0454ce66922a652 100644
--- a/src/WasmTranslator.h
+++ b/src/WasmTranslator.h
@@ -70,8 +70,7 @@ public:
v8::internal::wasm::FunctionBody &Body);
private:
- std::unique_ptr<uint8_t[]> Buffer;
- SizeT BufferSize;
+ std::vector<uint8_t> Buffer;
};
}
« no previous file with comments | « src/IceCompiler.cpp ('k') | src/WasmTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698