feat: first prototype of optimizers + alloca optimizer
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include <cstring>
|
||||
#include <cctype>
|
||||
|
||||
@@ -159,7 +158,7 @@ public:
|
||||
m_token.string = s.data;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
m_token = Token((TokenType)c, m_line, m_pos - m_last_newline, m_pos - m_last_newline + 1);
|
||||
return true;
|
||||
}
|
||||
@@ -196,4 +195,4 @@ private:
|
||||
size_t m_pos = 0;
|
||||
size_t m_line = 1;
|
||||
size_t m_last_newline = 0;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user