Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[Merge chakra-core/ChakraCore@6c11e16af2] [MERGE #3707 @sigatrev] Rem…
Browse files Browse the repository at this point in the history
…ove unneeded symbol that is breaking RecordInlineeFrameInfo copy prop

Merge pull request #3707 from sigatrev:floatTypeSpec

the float sym can safely use to the original var sym as it's equivalent var sym.
  • Loading branch information
chakrabot authored and MSLaguana committed Sep 25, 2017
1 parent 2199111 commit 57b1462
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/chakrashim/core/lib/Backend/GlobOpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12022,8 +12022,7 @@ GlobOpt::ToTypeSpecUse(IR::Instr *instr, IR::Opnd *opnd, BasicBlock *block, Valu
else
{
varSym = block->globOptData.GetCopyPropSym(nullptr, val);
// If there is no float 64 type specialized sym for this - create a new sym.
if(!varSym || !block->globOptData.IsFloat64TypeSpecialized(varSym))
if(!varSym)
{
// Clear the symstore to ensure it's set below to this new symbol
this->SetSymStoreDirect(val->GetValueInfo(), nullptr);
Expand Down

0 comments on commit 57b1462

Please sign in to comment.