Changeset 152581 in webkit
- Timestamp:
- Jul 11, 2013, 4:59:49 PM (12 years ago)
- Location:
- branches/dfgFourthTier/Source/JavaScriptCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dfgFourthTier/Source/JavaScriptCore/ChangeLog
r152538 r152581 1 2013-07-11 Mark Lam <mark.lam@apple.com> 2 3 Resurrect the CLoop LLINT on the FTL branch. 4 https://bugs.webkit.org/show_bug.cgi?id=118144. 5 6 Reviewed by Mark Hahnenberg. 7 8 * bytecode/CodeBlock.h: 9 (JSC::CodeBlock::jitType): 10 - Fix the CodeBlock jitType to be InterpreterThunk when !ENABLE_JIT. 11 * bytecode/JumpTable.h: 12 (JSC::SimpleJumpTable::clear): 13 * interpreter/StackIterator.cpp: 14 (JSC::StackIterator::Frame::bytecodeOffset): 15 (JSC::StackIterator::Frame::print): 16 * jit/JITCode.cpp: 17 (JSC): 18 * jit/JITExceptions.cpp: 19 (JSC::getExceptionLocation): 20 * llint/LowLevelInterpreter.cpp: 21 * offlineasm/cloop.rb: 22 * runtime/Structure.cpp: 23 1 24 2013-07-10 Mark Lam <mark.lam@apple.com> 2 25 -
branches/dfgFourthTier/Source/JavaScriptCore/bytecode/CodeBlock.h
r151820 r152581 308 308 bool hasOptimizedReplacement(); 309 309 #else 310 JITCode::JITType jitType() const { return JITCode:: BaselineJIT; }310 JITCode::JITType jitType() const { return JITCode::InterpreterThunk; } 311 311 #endif 312 312 -
branches/dfgFourthTier/Source/JavaScriptCore/bytecode/JumpTable.h
r151979 r152581 106 106 { 107 107 branchOffsets.clear(); 108 #if ENABLE(JIT) 108 109 ctiOffsets.clear(); 110 #endif 109 111 } 110 112 }; -
branches/dfgFourthTier/Source/JavaScriptCore/interpreter/StackIterator.cpp
r151651 r152581 148 148 if (!isJSFrame()) 149 149 return 0; 150 #if ENABLE(DFG_JIT) 150 151 if (hasLocationAsCodeOriginIndex()) 151 152 return bytecodeOffsetFromCodeOriginIndex(); 153 #endif 152 154 return locationAsBytecodeOffset(); 153 155 } … … 365 367 unsigned bytecodeOffset = locationAsBytecodeOffset(); 366 368 printif(i, " bytecodeOffset %u %p / %zu\n", bytecodeOffset, reinterpret_cast<void*>(bytecodeOffset), codeBlock->instructions().size()); 369 #if ENABLE(DFG_JIT) 367 370 } else { 368 371 unsigned codeOriginIndex = locationAsCodeOriginIndex(); 369 372 printif(i, " codeOriginIdex %u %p / %zu\n", codeOriginIndex, reinterpret_cast<void*>(codeOriginIndex), codeBlock->codeOrigins().size()); 373 #endif 370 374 } 371 375 printif(i, " line %d\n", line()); 372 376 printif(i, " column %d\n", column()); 373 377 printif(i, " jitType %d <%s> isOptimizingJIT %d\n", jitType, jitTypeName(jitType), JITCode::isOptimizingJIT(jitType)); 378 #if ENABLE(DFG_JIT) 374 379 printif(i, " hasCodeOrigins %d\n", codeBlock->hasCodeOrigins()); 375 380 if (codeBlock->hasCodeOrigins()) { … … 377 382 printif(i, " jitCode %p start %p end %p\n", jitCode, jitCode->start(), jitCode->end()); 378 383 } 384 #endif 379 385 } 380 386 printif(i, "}\n"); -
branches/dfgFourthTier/Source/JavaScriptCore/jit/JITCode.cpp
r151401 r152581 41 41 } 42 42 43 #if ENABLE(JIT) 43 44 JSValue JITCode::execute(JSStack* stack, CallFrame* callFrame, VM* vm) 44 45 { … … 46 47 return vm->exception ? jsNull() : result; 47 48 } 49 #endif 48 50 49 51 DFG::CommonData* JITCode::dfgCommon() -
branches/dfgFourthTier/Source/JavaScriptCore/jit/JITExceptions.cpp
r151504 r152581 44 44 ASSERT(!callFrame->hasHostCallFrameFlag()); 45 45 46 #if ENABLE(DFG_JIT) 46 47 if (callFrame->hasLocationAsCodeOriginIndex()) 47 48 return callFrame->bytecodeOffsetFromCodeOriginIndex(); 49 #endif 48 50 49 51 return callFrame->locationAsBytecodeOffset(); -
branches/dfgFourthTier/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
r151504 r152581 34 34 #if ENABLE(LLINT_C_LOOP) 35 35 #include "CodeBlock.h" 36 #include "CommonSlowPaths.h" 36 37 #include "LLIntCLoop.h" 37 38 #include "LLIntSlowPaths.h" 38 39 #include "Operations.h" 39 #include "SlowPaths.h"40 40 #include "VMInspector.h" 41 41 #include <wtf/Assertions.h> -
branches/dfgFourthTier/Source/JavaScriptCore/offlineasm/cloop.rb
r152538 r152581 547 547 $asm.putc " Instruction* pc = CAST<Instruction*>(#{operands[2].clValue(:voidPtr)});" 548 548 $asm.putc " SlowPathReturnType result = #{operands[0].cLabel}(exec, pc);" 549 $asm.putc " LLInt::decodeResult(result, t0.instruction, t1.execState);"549 $asm.putc " decodeResult(result, t0.instruction, t1.execState);" 550 550 $asm.putc "}" 551 551 end -
branches/dfgFourthTier/Source/JavaScriptCore/runtime/Structure.cpp
r151824 r152581 34 34 #include "StructureChain.h" 35 35 #include "StructureRareDataInlines.h" 36 #include <wtf/CommaPrinter.h> 36 37 #include <wtf/RefCountedLeakCounter.h> 37 38 #include <wtf/RefPtr.h>
Note:
See TracChangeset
for help on using the changeset viewer.