Shrinking debug info.

This commit is contained in:
Ben Vanik
2015-05-03 22:53:03 -07:00
parent 00c1b5fbbc
commit 0f14575592
4 changed files with 9 additions and 9 deletions

View File

@@ -211,7 +211,7 @@ void X64Emitter::MarkSourceOffset(const Instr* i) {
auto entry = source_map_arena_.Alloc<SourceMapEntry>();
entry->source_offset = static_cast<uint32_t>(i->src1.offset);
entry->hir_offset = uint32_t(i->block->ordinal << 16) | i->ordinal;
entry->code_offset = getSize();
entry->code_offset = static_cast<uint32_t>(getSize());
source_map_count_++;
}