-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstfolding.h
More file actions
29 lines (24 loc) · 915 Bytes
/
constfolding.h
File metadata and controls
29 lines (24 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
*************************************************************************************
CONSTFOLDING.H : DECLARATION OF FUNCTIONS ADDED IN CONSTFOLDING.C HERE
**************************************************************************************
*/
#include "Expression.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
extern bool madeChange;
/*
***********************************************************************
FUNCTION DECLARATIONS
************************************************************************
*/
long CalcExprValue(Node* node);
long ConstFoldPerStatement(Node* stmtNodeRight);
void ConstFoldPerFunction(Node* funcNode);
bool ConstantFolding(NodeList* list);
/*
***********************************************************************
ADD DECLARATIONS OF ANY FUNCTIONS YOU ADD BELOW THIS LINE
************************************************************************
*/