浏览代码

remoed assert

master
fumfar hiwi 6 年前
父节点
当前提交
73739eecab
共有 2 个文件被更改,包括 3 次插入4 次删除
  1. +2
    -2
      src/eval.cpp
  2. +1
    -2
      src/memory.cpp

+ 2
- 2
src/eval.cpp 查看文件

@@ -65,8 +65,8 @@ namespace Slime {
sym,
Memory::copy_lisp_object_except_pairs(next_arg));
}
assert("cs access index out of range",
arg_pos+1 < cs->next_index);
//assert("cs access index out of range",
// arg_pos+1 < cs->next_index);
next_arg = cs->data[++arg_pos];
}
};


+ 1
- 2
src/memory.cpp 查看文件

@@ -210,8 +210,7 @@ namespace Slime::Memory {
}
};
char* exe_path = get_exe_dir();
// don't free exe path because it will be used until end of time
Globals::load_path.alloc();
global_symbol_table.alloc();
global_keyword_table.alloc();


正在加载...
取消
保存