From 82fc9bb45dbf8ff728122fb7ab72d1eb7b2f4869 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 19 Jan 2016 14:08:02 +0000 Subject: Inline methods with loops. Compiling Gms/Fb/Framework/Docs: - Overall compilation-time increase: 2.2% - Overall code size increase: 1.1% Performance improvements: - Richards with jit: +6% - Takl: +11% Change-Id: I0a6fcf2a360e5ad193cd95b5c4fe92227ac6bd96 --- compiler/optimizing/nodes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/optimizing/nodes.h') diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index e222ef7260..48201e3d23 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -689,6 +689,10 @@ class HLoopInformation : public ArenaObject { void Add(HBasicBlock* block); void Remove(HBasicBlock* block); + void ClearAllBlocks() { + blocks_.ClearAllBits(); + } + private: // Internal recursive implementation of `Populate`. void PopulateRecursive(HBasicBlock* block); -- cgit v1.2.3-59-g8ed1b