Separate SSA opt; Basic Timings for sections only

This commit is contained in:
Ginger Bill
2016-11-06 21:22:05 +00:00
parent 6c2772d093
commit 7ba0f25943
7 changed files with 634 additions and 156 deletions

View File

@@ -3,9 +3,9 @@
template <typename T>
struct Array {
gbAllocator allocator;
T *data;
isize count;
isize capacity;
T * data;
isize count;
isize capacity;
T &operator[](isize index) {
GB_ASSERT_MSG(0 <= index && index < count, "Index out of bounds");