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

@@ -250,7 +250,7 @@ int Runtime::DemandFunction(
if (symbol_status == SymbolInfo::STATUS_NEW) {
// Symbol is undefined, so define now.
Function* function = NULL;
int result = frontend_->DefineFunction(symbol_info, false, &function);
int result = frontend_->DefineFunction(symbol_info, DEBUG_INFO_NONE, &function);
if (result) {
symbol_info->set_status(SymbolInfo::STATUS_FAILED);
return result;