mirror of
https://github.com/open-goal/jak-project
synced 2026-09-07 11:36:26 -04:00
minor windows fixes (#1311)
* [pp2] put `define` dest on a single line * update source! * Update type_analysis.cpp * update old credits & racer code * change clang-cl args (REALLY force avx) * Update credits_REF.gc * comment small unused code * add timer to decompiler * fix unnecessary copy-constructors (no speed increase) * fixes * Update expression_build.cpp * wtf is this thing anyway * im bored. * clang * fix! * Revert "fix!" This reverts commit5b1ce6c718. * Revert "clang" This reverts commit5e67d9ccd1. * Revert "im bored." This reverts commit070e957ce8. * Revert "Update expression_build.cpp" This reverts commitb94d092fc5. * Revert "fixes" This reverts commitf3d871f60a. * Revert "fix unnecessary copy-constructors (no speed increase)" This reverts commit9100725802. * Keep the random inoffensive changes * Revert "Update type_analysis.cpp" This reverts commitd2456a5c75. * Update type_analysis.cpp
This commit is contained in:
@@ -12,8 +12,9 @@ void Compiler::compile_state_handler_set(StructureType* state_type_info,
|
||||
Env* env,
|
||||
Val*& code_val,
|
||||
Val*& enter_val) {
|
||||
// do not set state handler field if handler is #f, that's already the value in the static data
|
||||
// but what if it's ACTUALLY setting it to #f??? see crate-buzzer wait
|
||||
// do not set state handler field if handler is *no-state*
|
||||
// we don't use #f here because you might want to actually set the state to #f
|
||||
// (see crate-buzzer wait)
|
||||
auto& arg = args.named.at(name);
|
||||
if (!(arg.is_symbol() && arg.as_symbol()->name == "*no-state*")) {
|
||||
auto field = get_field_of_structure(state_type_info, state_object, name, env);
|
||||
|
||||
Reference in New Issue
Block a user