Index: src/ic/access-compiler.h |
diff --git a/src/ic/access-compiler.h b/src/ic/access-compiler.h |
index 61567a2224b14132e57a1bdd90f143a595d01f17..b168624d0f1b469eb34da008c24646d07508fc9e 100644 |
--- a/src/ic/access-compiler.h |
+++ b/src/ic/access-compiler.h |
@@ -81,6 +81,8 @@ class PropertyAccessCompiler BASE_EMBEDDED { |
Isolate* isolate_; |
MacroAssembler masm_; |
+ // Ensure that MacroAssembler has a reasonable size. |
+ STATIC_ASSERT(sizeof(MacroAssembler) < KB / 2); |
}; |
} |
} // namespace v8::internal |