Skip to content

Commit

Permalink
Fixed incorrect comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmitton authored Jan 3, 2018
1 parent 246820f commit a3a8987
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion goaldis/machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ void set_fixed_type(FixedSym id, const char *name, symbol *parentTypeSym, uint64
type->sizeB = (type->sizeA+0xf)&0xfff0;
type->heap_base = (flags>>16)&0xffff;

// we can narrow the number of methods if needed, but not expand outside what we allocated.
int num_methods = (flags>>32)&0xffff;
if (type->allocated_length < num_methods)
type->allocated_length = num_methods;
Expand Down

0 comments on commit a3a8987

Please sign in to comment.