prepare Nim codebase for upcoming parser changes
This commit is contained in:
parent
3e72c98d49
commit
0834cd63d9
26 changed files with 46 additions and 46 deletions
|
|
@ -27,7 +27,7 @@ const
|
|||
tickCountCorrection = 50_000
|
||||
|
||||
when not declared(system.StackTrace):
|
||||
type StackTrace = array [0..20, cstring]
|
||||
type StackTrace = array[0..20, cstring]
|
||||
{.deprecated: [TStackTrace: StackTrace].}
|
||||
|
||||
# We use a simple hash table of bounded size to keep track of the stack traces:
|
||||
|
|
@ -35,7 +35,7 @@ type
|
|||
ProfileEntry = object
|
||||
total: int
|
||||
st: StackTrace
|
||||
ProfileData = array [0..64*1024-1, ptr ProfileEntry]
|
||||
ProfileData = array[0..64*1024-1, ptr ProfileEntry]
|
||||
{.deprecated: [TProfileEntry: ProfileEntry, TProfileData: ProfileData].}
|
||||
|
||||
proc `==`(a, b: StackTrace): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue