Making debug info toggles a flag to allow finer control.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user