Ignore:
Timestamp:
Mar 26, 2015, 12:17:08 AM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, fixes to silly things. While landing fixes to r181993, I introduced crashes. This fixes them.

  • dfg/DFGConstantFoldingPhase.cpp:

(JSC::DFG::ConstantFoldingPhase::foldConstants): I landed a fix for a VS warning. It broke this. Now I'm fixing it.

  • ftl/FTLCompile.cpp:

(JSC::FTL::compile): Make sure we pass the module when dumping. This makes FTL debugging possible again.

  • ftl/FTLState.cpp:

(JSC::FTL::State::dumpState): New overload that takes a module, so that we can call this after FTL::compile() clears State's module.

  • ftl/FTLState.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ftl/FTLState.cpp

    r180279 r182004  
    9393void State::dumpState(const char* when)
    9494{
     95    dumpState(module, when);
     96}
     97
     98void State::dumpState(LModule module, const char* when)
     99{
    95100    dataLog("LLVM IR for ", CodeBlockWithJITType(graph.m_codeBlock, FTL::JITCode::FTLJIT), " ", when, ":\n");
    96101    dumpModule(module);
Note: See TracChangeset for help on using the changeset viewer.