From 1a39fa201cb51220b61bee06496d83b4abaa9272 Mon Sep 17 00:00:00 2001 From: Folkert Date: Sat, 20 Feb 2021 04:16:09 +0100 Subject: [PATCH] dicts are only 3 words on the stack --- compiler/mono/src/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/mono/src/layout.rs b/compiler/mono/src/layout.rs index 668ba8f72f..b6c1e22bfe 100644 --- a/compiler/mono/src/layout.rs +++ b/compiler/mono/src/layout.rs @@ -877,7 +877,7 @@ impl<'a> Builtin<'a> { /// Number of machine words in an empty one of these pub const STR_WORDS: u32 = 2; - pub const DICT_WORDS: u32 = 6; + pub const DICT_WORDS: u32 = 3; pub const SET_WORDS: u32 = Builtin::DICT_WORDS; // Set is an alias for Dict with {} for value pub const LIST_WORDS: u32 = 2;