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

Unified Diff: src/objects.h

Issue 2862763002: [wasm] Avoid js-typed-lowering optimization for wasm Memory objects (Closed)
Patch Set: Cleanup Created 3 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/compiler/js-typed-lowering.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 04ae7680cda2d0de9fdb1659202a83aa1c6d3dee..9ef5433c0dd2e6f6957f29b4df05f00f3fa173fc 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -9352,6 +9352,11 @@ class JSArrayBuffer: public JSObject {
inline bool has_guard_region();
inline void set_has_guard_region(bool value);
+ // TODO(gdeepti): This flag is introduced to disable asm.js optimizations in
+ // js-typer-lowering.cc, remove when the asm.js case is fixed.
+ inline bool is_wasm_buffer();
+ inline void set_is_wasm_buffer(bool value);
+
DECLARE_CAST(JSArrayBuffer)
void Neuter();
@@ -9394,6 +9399,7 @@ class JSArrayBuffer: public JSObject {
class WasNeutered : public BitField<bool, 3, 1> {};
class IsShared : public BitField<bool, 4, 1> {};
class HasGuardRegion : public BitField<bool, 5, 1> {};
+ class IsWasmBuffer : public BitField<bool, 6, 1> {};
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(JSArrayBuffer);
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698