Skip to content

Commit

Permalink
Refactor intermediate instructions from value to pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
drmortalwombat committed Sep 15, 2021
1 parent 37828f2 commit 1d76188
Show file tree
Hide file tree
Showing 8 changed files with 2,427 additions and 2,400 deletions.
1,118 changes: 559 additions & 559 deletions oscar64/ByteCodeGenerator.cpp

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions oscar64/ByteCodeGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,19 +221,19 @@ class ByteCodeBasicBlock
void IntConstToAddr(__int64 val);
void FloatConstToAccu(double val);
void FloatConstToWork(double val);
void CopyValue(InterCodeProcedure* proc, const InterInstruction& ins);
void LoadConstant(InterCodeProcedure* proc, const InterInstruction& ins);
void StoreDirectValue(InterCodeProcedure* proc, const InterInstruction & ins);
void LoadDirectValue(InterCodeProcedure* proc, const InterInstruction& ins);
void LoadEffectiveAddress(InterCodeProcedure* proc, const InterInstruction& ins);
void CallFunction(InterCodeProcedure* proc, const InterInstruction& ins);
void CallAssembler(InterCodeProcedure* proc, const InterInstruction& ins);
void BinaryOperator(InterCodeProcedure* proc, const InterInstruction& ins);
void UnaryOperator(InterCodeProcedure* proc, const InterInstruction& ins);
void BinaryRROperator(InterCodeProcedure* proc, const InterInstruction& ins);
ByteCode RelationalOperator(InterCodeProcedure* proc, const InterInstruction& ins);
void BinaryIntOperator(InterCodeProcedure* proc, const InterInstruction& ins, ByteCode code);
void NumericConversion(InterCodeProcedure* proc, const InterInstruction& ins);
void CopyValue(InterCodeProcedure* proc, const InterInstruction * ins);
void LoadConstant(InterCodeProcedure* proc, const InterInstruction * ins);
void StoreDirectValue(InterCodeProcedure* proc, const InterInstruction * ins);
void LoadDirectValue(InterCodeProcedure* proc, const InterInstruction * ins);
void LoadEffectiveAddress(InterCodeProcedure* proc, const InterInstruction * ins);
void CallFunction(InterCodeProcedure* proc, const InterInstruction * ins);
void CallAssembler(InterCodeProcedure* proc, const InterInstruction * ins);
void BinaryOperator(InterCodeProcedure* proc, const InterInstruction * ins);
void UnaryOperator(InterCodeProcedure* proc, const InterInstruction * ins);
void BinaryRROperator(InterCodeProcedure* proc, const InterInstruction * ins);
ByteCode RelationalOperator(InterCodeProcedure* proc, const InterInstruction * ins);
void BinaryIntOperator(InterCodeProcedure* proc, const InterInstruction * ins, ByteCode code);
void NumericConversion(InterCodeProcedure* proc, const InterInstruction * ins);

void PeepHoleOptimizer(void);
};
Expand Down
Loading

0 comments on commit 1d76188

Please sign in to comment.