Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rechardchen committed May 14, 2017
1 parent 223e424 commit 08a6c9e
Show file tree
Hide file tree
Showing 8 changed files with 663 additions and 65 deletions.
9 changes: 9 additions & 0 deletions frame.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#pragma once
#include "temp.h"
#include "symbol.h"
#include <vector>

//machine-independent module
#define TIGER_WORD_SIZE 4

namespace tiger {

struct FAccess {
enum { InFrame, InReg } t;
union
Expand All @@ -16,4 +22,7 @@ namespace tiger {
virtual FAccess StaticLink();
virtual FAccess FramePtr();
};

struct TExp;
typedef TExp* FExternalCall(Symbol s, const std::vector<TExp*>&);
}
Loading

0 comments on commit 08a6c9e

Please sign in to comment.