Making debug info toggles a flag to allow finer control.

This commit is contained in:
Ben Vanik
2014-01-13 21:12:10 -08:00
parent dfaa0e2d08
commit faa75c9407
13 changed files with 54 additions and 24 deletions

View File

@@ -55,7 +55,8 @@ void IVMAssembler::Reset() {
int IVMAssembler::Assemble(
FunctionInfo* symbol_info, HIRBuilder* builder,
DebugInfo* debug_info, Function** out_function) {
uint32_t debug_info_flags, runtime::DebugInfo* debug_info,
Function** out_function) {
IVMFunction* fn = new IVMFunction(symbol_info);
fn->set_debug_info(debug_info);

View File

@@ -31,7 +31,8 @@ public:
virtual int Assemble(
runtime::FunctionInfo* symbol_info, hir::HIRBuilder* builder,
runtime::DebugInfo* debug_info, runtime::Function** out_function);
uint32_t debug_info_flags, runtime::DebugInfo* debug_info,
runtime::Function** out_function);
private:
Arena intcode_arena_;