Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 58bace2

Browse files
Unreviewed, fix simple goof that was causing 32-bit DFG crashes.
* dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::compileCreateDirectArguments): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@229545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent b38a148 commit 58bace2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Source/JavaScriptCore/ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2018-03-12 Filip Pizlo <[email protected]>
2+
3+
Unreviewed, fix simple goof that was causing 32-bit DFG crashes.
4+
5+
* dfg/DFGSpeculativeJIT.cpp:
6+
(JSC::DFG::SpeculativeJIT::compileCreateDirectArguments):
7+
18
2018-03-11 Yusuke Suzuki <[email protected]>
29

310
[DFG] AI should convert CreateThis to NewObject if the prototype object is proved

Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7006,7 +7006,8 @@ void SpeculativeJIT::compileCreateDirectArguments(Node* node)
70067006
GPRTemporary length;
70077007

70087008
if (isX86() && is32Bit() && !lengthIsKnown) {
7009-
GPRFlushedCallResult result(this);
7009+
GPRFlushedCallResult realResult(this);
7010+
result.adopt(realResult);
70107011
resultGPR = result.gpr();
70117012
RELEASE_ASSERT(resultGPR == GPRInfo::regT0);
70127013
flushRegisters();

0 commit comments

Comments
 (0)