From 8c72d6795373155b79141c5092aa25d3f217d233 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 25 Jun 2013 15:40:56 -0700 Subject: move memory initializer pattern to shared --- tools/shared.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/shared.py b/tools/shared.py index 52ca0292..bc1177b2 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -1351,6 +1351,8 @@ JCache = cache.JCache(Cache) chunkify = cache.chunkify class JS: + memory_initializer_pattern = '/\* memory initializer \*/ allocate\(([\d,\.concat\(\)\[\]\\n ]+)"i8", ALLOC_NONE, Runtime\.GLOBAL_BASE\)' + @staticmethod def to_nice_ident(ident): # limited version of the JS function toNiceIdent return ident.replace('%', '$').replace('@', '_'); -- cgit v1.2.3-18-g5258