Skip to content

Commit

Permalink
Merge r230379 - Unreviewed, follow-up patch for DFG 32bit
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=183970

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::cachedGetById):
  • Loading branch information
Constellation authored and carlosgcampos committed Jun 11, 2018
1 parent 6fec52a commit b039db8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 8 additions & 0 deletions Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,11 @@
2018-04-08 Yusuke Suzuki <utatane.tea@gmail.com>

Unreviewed, follow-up patch for DFG 32bit
https://bugs.webkit.org/show_bug.cgi?id=183970

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::cachedGetById):

2018-04-08 Yusuke Suzuki <utatane.tea@gmail.com>

[JSC] Introduce op_get_by_id_direct
Expand Down
10 changes: 2 additions & 8 deletions Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp
Expand Up @@ -209,22 +209,16 @@ void SpeculativeJIT::cachedGetById(
slowCases.append(slowPathTarget);
slowCases.append(gen.slowPathJump());

J_JITOperation_ESsiJI getByIdFunction;
if (type == AccessType::Get)
getByIdFunction = operationGetByIdOptimize;
else
getByIdFunction = operationTryGetByIdOptimize;

std::unique_ptr<SlowPathGenerator> slowPath;
if (baseTagGPROrNone == InvalidGPRReg) {
slowPath = slowPathCall(
slowCases, this, getByIdFunction,
slowCases, this, appropriateOptimizingGetByIdFunction(type),
JSValueRegs(resultTagGPR, resultPayloadGPR), gen.stubInfo(),
static_cast<int32_t>(JSValue::CellTag), basePayloadGPR,
identifierUID(identifierNumber));
} else {
slowPath = slowPathCall(
slowCases, this, getByIdFunction,
slowCases, this, appropriateOptimizingGetByIdFunction(type),
JSValueRegs(resultTagGPR, resultPayloadGPR), gen.stubInfo(), JSValueRegs(baseTagGPROrNone, basePayloadGPR), identifierUID(identifierNumber));
}

Expand Down

0 comments on commit b039db8

Please sign in to comment.