Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
cc89bc12
Commit
cc89bc12
authored
Jul 18, 2013
by
Nicolas Capens
Committed by
Shannon Woods
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove intrinsic parameter names.
TRAC #23394 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens
parent
506d7617
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Initialize.cpp
src/compiler/Initialize.cpp
+0
-0
SymbolTable.h
src/compiler/SymbolTable.h
+6
-6
No files found.
src/compiler/Initialize.cpp
View file @
cc89bc12
This diff is collapsed.
Click to expand it.
src/compiler/SymbolTable.h
View file @
cc89bc12
...
@@ -285,22 +285,22 @@ public:
...
@@ -285,22 +285,22 @@ public:
return
insert
(
*
constant
);
return
insert
(
*
constant
);
}
}
bool
insertBuiltIn
(
TType
*
rvalue
,
const
char
*
name
,
TType
*
ptype1
,
const
char
*
pname1
,
TType
*
ptype2
=
0
,
const
char
*
pname2
=
0
,
TType
*
ptype3
=
0
,
const
char
*
pnam
e3
=
0
)
bool
insertBuiltIn
(
TType
*
rvalue
,
const
char
*
name
,
TType
*
ptype1
,
TType
*
ptype2
=
0
,
TType
*
ptyp
e3
=
0
)
{
{
TFunction
*
function
=
new
TFunction
(
NewPoolTString
(
name
),
*
rvalue
);
TFunction
*
function
=
new
TFunction
(
NewPoolTString
(
name
),
*
rvalue
);
TParameter
param1
=
{
N
ewPoolTString
(
pname1
)
,
ptype1
};
TParameter
param1
=
{
N
ULL
,
ptype1
};
function
->
addParameter
(
param1
);
function
->
addParameter
(
param1
);
if
(
pnam
e2
)
if
(
ptyp
e2
)
{
{
TParameter
param2
=
{
N
ewPoolTString
(
pname2
)
,
ptype2
};
TParameter
param2
=
{
N
ULL
,
ptype2
};
function
->
addParameter
(
param2
);
function
->
addParameter
(
param2
);
}
}
if
(
pnam
e3
)
if
(
ptyp
e3
)
{
{
TParameter
param3
=
{
N
ewPoolTString
(
pname3
)
,
ptype3
};
TParameter
param3
=
{
N
ULL
,
ptype3
};
function
->
addParameter
(
param3
);
function
->
addParameter
(
param3
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment