diff options
author | Eike Rathke <erack@redhat.com> | 2016-09-01 14:16:03 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-09-01 17:29:12 +0200 |
commit | dcc56d663059b3baced58e34bb8186a05ceadf53 (patch) | |
tree | 31f25bb11ef32cfdfdcda1db3f4d4ac81897d2a4 /sc | |
parent | f684d1edfd48b686549b893dc0612c31d9617bdc (diff) |
remove now pointless comment about alignment boundaries
... and adapt ScRawToken size comment to reality.
Change-Id: Ia9c1cecc5d01f49c6d5fbe5b53472e6f0ef153cb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/token.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 1e68576423e7..ba91d2a0ad97 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -204,10 +204,7 @@ namespace } // namespace -// Align MemPools on 4k boundaries - 64 bytes (4k is a MUST for OS/2) - -// Since RawTokens are temporary for the compiler, don't align on 4k and waste memory. -// ScRawToken size is FixMembers + MAXSTRLEN + ~4 ~= 1036 +// ScRawToken size is OpCode + StackVar + MAXSTRLEN+1 + ~20 ~= 1049 IMPL_FIXEDMEMPOOL_NEWDEL( ScRawToken ) // Need a whole bunch of ScSingleRefToken |