Compare commits
2 commits
f1214cfd12
...
3a897af896
Author | SHA1 | Date | |
---|---|---|---|
|
3a897af896 | ||
|
e3133e145d |
2 changed files with 3 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
|||
#include <stdlib.h>
|
||||
#include "../Tables/Instructions/tab_instruc.h"
|
||||
#define TAILLE 1024
|
||||
#define SECURISED (1)
|
||||
#define SECURED (1)
|
||||
|
||||
struct type_t type_courant;
|
||||
struct type_t return_type_fonc;
|
||||
|
@ -298,13 +298,13 @@ Instruction : Print tPV;
|
|||
/*************************************/
|
||||
/*************************************/
|
||||
|
||||
Invocation : tID tOBRACE {if (!SECURISED) {
|
||||
Invocation : tID tOBRACE {if (!SECURED) {
|
||||
push("0_TEMPORARY_CTX", 0, integer); // On reserve la place du contexte
|
||||
push("0_TEMPORARY_ADDR_RT", 0, pointer); // On reserve la place de l'adresse de retour
|
||||
}
|
||||
}
|
||||
Params tCBRACE {struct fonction_t fonc = get_fonction($1); // On récupère la fonction
|
||||
if (!SECURISED) {
|
||||
if (!SECURED) {
|
||||
multiple_pop($4 + 2); // On pop les paramètres de la table des symboles
|
||||
} else {
|
||||
multiple_pop($4); // On pop les paramètres de la table des symboles
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# Projet Système Informatique - Elies TALI et Paul FAURE
|
||||
|
||||
Plop
|
Loading…
Reference in a new issue