Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 16 additions & 25 deletions crates/cairo-lang-executable/src/compile_test_data/basic
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ ret;
[ap + 0] = [fp + -7] + 5, ap++;
jmp rel 4;
[ap + 0] = [fp + -7] + 2, ap++;
call rel 89;
call rel 87;
[ap + 0] = [ap + -9], ap++;
[ap + 0] = 1, ap++;
[ap + 0] = [ap + -4], ap++;
Expand All @@ -271,7 +271,7 @@ ret;
[ap + 0] = [fp + -7] + 4, ap++;
jmp rel 4;
[ap + 0] = [fp + -7] + 1, ap++;
call rel 80;
call rel 78;
[ap + 0] = [ap + -9], ap++;
[ap + 0] = 1, ap++;
[ap + 0] = [ap + -4], ap++;
Expand All @@ -280,14 +280,14 @@ ret;
[ap + 0] = [fp + -7] + 3, ap++;
jmp rel 3;
[ap + 0] = [fp + -7], ap++;
call rel 72;
call rel 70;
[ap + 0] = [ap + -9], ap++;
[ap + 0] = 1, ap++;
[ap + 0] = [ap + -4], ap++;
[ap + 0] = [ap + -4], ap++;
ret;
[ap + 0] = 117999715903629884655797335944760714204113152088920212735095598, ap++;
call rel 67;
call rel 65;
ret;
jmp rel 9 if [fp + -3] != 0;
[ap + 0] = [fp + -6], ap++;
Expand All @@ -300,24 +300,22 @@ ret;
jmp rel 7 if [ap + -1] != 0, ap++;
[ap + -1] = [ap + 0] + 340282366920938463463374607431768211456, ap++;
[ap + -1] = [[fp + -6] + 0];
jmp rel 25;
jmp rel 23;
[ap + -1] = [[fp + -6] + 0];
[ap + 0] = [fp + -3], ap++;
call rel 52;
jmp rel 10 if [ap + -2] != 0;
[ap + 0] = [fp + -6] + 1, ap++;
[ap + 0] = [fp + -4], ap++;
[ap + 0] = [ap + -8], ap++;
[ap + 0] = [ap + -4], ap++;
call rel -28;
ret;
call rel 52;
jmp rel 11 if [fp + -3] != 0;
call rel 49;
[ap + 0] = [fp + -6] + 1, ap++;
[ap + 0] = 1, ap++;
[ap + 0] = [ap + -4], ap++;
[ap + 0] = [ap + -4], ap++;
ret;
call rel 48;
[ap + 0] = [fp + -6] + 1, ap++;
[ap + 0] = [fp + -4], ap++;
[ap + 0] = [ap + -3], ap++;
[fp + -3] = [ap + 0] + 1, ap++;
call rel -35;
ret;
call rel 36;
[ap + 0] = [fp + -6] + 1, ap++;
[ap + 0] = 1, ap++;
[ap + 0] = [ap + -4], ap++;
Expand All @@ -338,18 +336,11 @@ ap += 1;
[ap + 0] = [ap + -1], ap++;
[ap + 0] = [ap + -2] + 1, ap++;
ret;
jmp rel 7 if [fp + -3] != 0;
[ap + 0] = 1, ap++;
[ap + 0] = 340282366920938463463374607431768211455, ap++;
ret;
[ap + 0] = 0, ap++;
[fp + -3] = [ap + 0] + 1, ap++;
ret;
[ap + 0] = 39878429859763533771555484554338820190071, ap++;
call rel -21;
call rel -9;
ret;
[ap + 0] = 39878429859757942499084499860145094553463, ap++;
call rel -26;
call rel -14;
ret;
// footer
ret;
Expand Down
1 change: 1 addition & 0 deletions crates/cairo-lang-filesystem/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ pub struct ExperimentalFeaturesConfig {
#[serde(default)]
pub coupons: bool,
/// Allows using user defined inline macros.
#[serde(default)]
pub user_defined_inline_macros: bool,
}

Expand Down
Loading