GetStatement(): 0 is a valid source location line, so rather init to -1.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31684 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-07-22 01:52:21 +00:00
parent e78744554e
commit ae8f22407a
@@ -520,7 +520,7 @@ ArchitectureX86::GetStatement(FunctionDebugInfo* function,
// create a statement
ContiguousStatement* statement = new(std::nothrow) ContiguousStatement(
SourceLocation(0), TargetAddressRange(info.Address(), info.Size()));
SourceLocation(-1), TargetAddressRange(info.Address(), info.Size()));
if (statement == NULL)
return B_NO_MEMORY;