File tree 14 files changed +29
-21
lines changed
14 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 4
4
#include < vector>
5
5
6
6
#include " defines.hpp"
7
+ #include " memory/header.hpp"
8
+
7
9
#include " vm.hpp"
8
10
#include " state.hpp"
9
- #include " oop.hpp"
10
11
#include " type_info.hpp"
11
12
#include " executor.hpp"
12
13
Original file line number Diff line number Diff line change 9
9
#include " configuration.hpp"
10
10
#include " object_utils.hpp"
11
11
#include " memory.hpp"
12
- #include " oop .hpp"
12
+ #include " memory/header .hpp"
13
13
14
14
#include < ctype.h> // For isdigit and friends
15
15
#include < errno.h> // For ERANGE
Original file line number Diff line number Diff line change 4
4
/* *
5
5
* @file defines.hpp
6
6
*
7
- * Notably here, Symbols, Fixnums and true/false/nil are actually
8
- * stored directly in the pointer value (and distinguished by the
9
- * tag, see oop.hpp) but provided we do not attempt to dereference
10
- * it, we can ALSO define a class and treat the pointer values as
11
- * if they were real pointers to real objects of that class where
12
- * typing is concerned. In the "instance methods", the this pointer
13
- * is still the correct pointer value and can thus be used for the
14
- * calculations needed.
7
+ * Notably here, Symbols, Fixnums and true/false/nil are actually stored
8
+ * directly in the pointer value (and distinguished by the tag, see
9
+ * memory/header.hpp) but provided we do not attempt to dereference it, we
10
+ * can ALSO define a class and treat the pointer values as if they were real
11
+ * pointers to real objects of that class where typing is concerned. In the
12
+ * "instance methods", the this pointer is still the correct pointer value
13
+ * and can thus be used for the calculations needed.
15
14
*
16
- * @see oop .hpp
15
+ * @see memory/header .hpp
17
16
*/
18
17
19
18
#include < stdint.h>
Original file line number Diff line number Diff line change 6
6
#include < llvm/Support/ManagedStatic.h>
7
7
8
8
#include " environment.hpp"
9
- #include " oop.hpp"
10
9
#include " type_info.hpp"
11
10
#include " exception.hpp"
12
11
12
+ #include " memory/header.hpp"
13
+
13
14
#include " config.h"
14
15
#include " paths.h"
15
16
Original file line number Diff line number Diff line change 1
1
#ifndef RBX_VM_GLOBAL_CACHE_HPP
2
2
#define RBX_VM_GLOBAL_CACHE_HPP
3
3
4
- #include " oop.hpp"
4
+ #include " memory/header.hpp"
5
+
5
6
#include " object_utils.hpp"
6
7
#include " builtin/compiled_code.hpp"
7
8
#include " builtin/symbol.hpp"
Original file line number Diff line number Diff line change 41
41
* value. Passing Fixnums through means that all the Fixnum conversions
42
42
* do not have to be reimplemented for the C-API.
43
43
*
44
- * The tags break down as follows (@see machine/oop .hpp for more details):
44
+ * The tags break down as follows (@see machine/memory/header .hpp for more details):
45
45
*
46
46
* 00 0 0000 Qfalse
47
47
* xx x xxx1 Fixnum
Original file line number Diff line number Diff line change 2
2
#define RBX_OBJECTMEMORY_H
3
3
4
4
#include " defines.hpp"
5
+ #include " memory/header.hpp"
6
+
5
7
#include " type_info.hpp"
6
8
#include " object_position.hpp"
7
- #include " oop.hpp"
8
9
#include " metrics.hpp"
9
10
#include " configuration.hpp"
10
11
Original file line number Diff line number Diff line change 3
3
4
4
#include < list>
5
5
6
- #include " oop.hpp"
6
+ #include " memory/header.hpp"
7
+
7
8
#include " shared_state.hpp"
8
9
9
10
#include " builtin/object.hpp"
Original file line number Diff line number Diff line change 1
1
#include " util/atomic.hpp"
2
2
3
+ #include " memory/header.hpp"
4
+
3
5
#include " bug.hpp"
4
6
#include " configuration.hpp"
5
7
#include " memory.hpp"
6
8
#include " on_stack.hpp"
7
- #include " oop.hpp"
8
9
#include " thread_phase.hpp"
9
10
10
11
#include " builtin/object.hpp"
File renamed without changes.
Original file line number Diff line number Diff line change 1
- #include " oop.hpp"
1
+ #include " memory/header.hpp"
2
+
2
3
#include " vm.hpp"
3
4
#include " state.hpp"
4
5
#include " memory.hpp"
Original file line number Diff line number Diff line change 4
4
5
5
#include < stdexcept>
6
6
7
+ #include " memory/header.hpp"
8
+
7
9
#include " linkedlist.hpp"
8
- #include " oop.hpp"
9
10
#include " defines.hpp"
10
11
11
12
#include " util/thread.hpp"
Original file line number Diff line number Diff line change 1
1
#ifndef RBX_SYMBOLTABLE_HPP
2
2
#define RBX_SYMBOLTABLE_HPP
3
3
4
- #include " oop.hpp"
4
+ #include " memory/header.hpp"
5
+
5
6
#include " defines.hpp"
6
7
#include " diagnostics.hpp"
7
8
Original file line number Diff line number Diff line change 1
1
#include " machine/test/test.hpp"
2
2
3
- #include " oop .hpp"
3
+ #include " memory/header .hpp"
4
4
5
5
#include < cxxtest/TestSuite.h>
6
6
You can’t perform that action at this time.
0 commit comments