| OLD | NEW |
| 1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 #include "src/vm/object.h" | 5 #include "src/vm/object.h" |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 | 9 |
| 10 #include "src/shared/bytecodes.h" | 10 #include "src/shared/bytecodes.h" |
| 11 #include "src/shared/flags.h" | 11 #include "src/shared/flags.h" |
| (...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 uword end) { | 729 uword end) { |
| 730 PromotedTrack* self = | 730 PromotedTrack* self = |
| 731 reinterpret_cast<PromotedTrack*>(HeapObject::FromAddress(location)); | 731 reinterpret_cast<PromotedTrack*>(HeapObject::FromAddress(location)); |
| 732 self->set_class(StaticClassStructures::promoted_track_class()); | 732 self->set_class(StaticClassStructures::promoted_track_class()); |
| 733 self->set_next(next); | 733 self->set_next(next); |
| 734 self->set_end(end); | 734 self->set_end(end); |
| 735 return self; | 735 return self; |
| 736 } | 736 } |
| 737 | 737 |
| 738 } // namespace fletch | 738 } // namespace fletch |
| OLD | NEW |