Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
6de98e5a
Commit
6de98e5a
authored
May 06, 2016
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1156 from undingen/bjit_recordType
bjit: directly emit recordType again
parents
1e2ba218
f690f713
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/codegen/baseline_jit.cpp
src/codegen/baseline_jit.cpp
+1
-5
No files found.
src/codegen/baseline_jit.cpp
View file @
6de98e5a
...
@@ -881,15 +881,11 @@ std::pair<RewriterVar*, RewriterAction*> JitFragmentWriter::emitPPCall(void* fun
...
@@ -881,15 +881,11 @@ std::pair<RewriterVar*, RewriterAction*> JitFragmentWriter::emitPPCall(void* fun
},
args
,
ActionType
::
NORMAL
);
},
args
,
ActionType
::
NORMAL
);
if
(
type_recorder
)
{
if
(
type_recorder
)
{
RewriterVar
*
type_recorder_var
=
imm
(
type_recorder
);
RewriterVar
*
type_recorder_var
=
imm
(
type_recorder
);
/*
TODO use call for now because this code is broken because it does not check if result is null
RewriterVar
*
obj_cls_var
=
result
->
getAttr
(
offsetof
(
Box
,
cls
));
RewriterVar
*
obj_cls_var
=
result
->
getAttr
(
offsetof
(
Box
,
cls
));
addAction
([
=
]()
{
_emitRecordType
(
type_recorder_var
,
obj_cls_var
);
},
{
type_recorder_var
,
obj_cls_var
},
addAction
([
=
]()
{
_emitRecordType
(
type_recorder_var
,
obj_cls_var
);
},
{
type_recorder_var
,
obj_cls_var
},
ActionType
::
NORMAL
);
ActionType
::
NORMAL
);
*/
result
->
refUsed
();
call
(
false
,
(
void
*
)
recordType
,
type_recorder_var
,
result
);
emitPendingCallsCheck
();
emitPendingCallsCheck
();
return
std
::
make_pair
(
result
,
call_action
);
return
std
::
make_pair
(
result
,
call_action
);
...
...
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