]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/object_start_map.hpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / object_start_map.hpp
index a2e24eeda607621e7792f263950c2686020203fa..c05dba6a640df7546182763236f9d2b8fe12427a 100644 (file)
@@ -1,22 +1,20 @@
-namespace factor
-{
+namespace factor {
 
 static const cell card_starts_inside_object = 0xff;
 
 struct object_start_map {
-       cell size, start;
-       card *object_start_offsets;
-       card *object_start_offsets_end;
+  cell size, start;
+  card* object_start_offsets;
+  card* object_start_offsets_end;
 
-       explicit object_start_map(cell size_, cell start_);
-       ~object_start_map();
+  object_start_map(cell size, cell start);
+  ~object_start_map();
 
-       cell first_object_in_card(cell card_index);
-       cell find_object_containing_card(cell card_index);
-       void record_object_start_offset(object *obj);
-       void clear_object_start_offsets();
-       void update_card_for_sweep(cell index, u16 mask);
-       void update_for_sweep(mark_bits<object> *state);
+  cell find_object_containing_card(cell card_index);
+  void record_object_start_offset(object* obj);
+  void clear_object_start_offsets();
+  void update_card_for_sweep(cell index, uint16_t mask);
+  void update_for_sweep(mark_bits* state);
 };
 
 }