From 09cb33d86795509d47ae69b07240b8aac155dcdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 20 Jun 2022 10:28:30 +0200
Subject: [PATCH] Bytecode: no longer bypass normal alignment rules in
 instructions representation

This change provides a (limited) performance gain, at the expense of
a (moderate) increase in .cod files.
---
 src/Bytecode.hh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/Bytecode.hh b/src/Bytecode.hh
index a16b4108..0df4a2c9 100644
--- a/src/Bytecode.hh
+++ b/src/Bytecode.hh
@@ -104,8 +104,6 @@ struct Block_contain_type
   int Equation, Variable, Own_Derivative;
 };
 
-#pragma pack(push, 1)
-
 class BytecodeInstruction
 {
 protected:
@@ -1567,6 +1565,4 @@ public:
 };
 #endif // BYTECODE_MEX
 
-#pragma pack(pop)
-
 #endif // _BYTECODE_HH
-- 
GitLab