Changeset 427 for trunk/JavaScriptCore/kjs/Shell.cpp
- Timestamp:
- 08/01/08 14:47:24 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/kjs/Shell.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/kjs/Shell.cpp
r418 r427 31 31 #include "JSFunction.h" 32 32 #include "JSGlobalObject.h" 33 #include "JSLock.h"34 33 #include "JSObject.h" 35 34 #include "Parser.h" 36 35 #include "PrototypeFunction.h" 36 #include "SamplingTool.h" 37 37 #include "collector.h" 38 38 #include "completion.h" … … 208 208 JSValue* functionGC(ExecState* exec, JSObject*, JSValue*, const ArgList&) 209 209 { 210 JSLock lock(false);211 210 exec->heap()->collect(); 212 211 return jsUndefined(); … … 340 339 prettyPrintScript(globalObject->globalExec(), fileName, script); 341 340 else { 342 #if SAMPLING_TOOL_ENABLED341 #if ENABLE(SAMPLING_TOOL) 343 342 Machine* machine = globalObject->globalData()->machine; 344 343 machine->m_sampler = new SamplingTool(); … … 355 354 } 356 355 357 #if SAMPLING_TOOL_ENABLED356 #if ENABLE(SAMPLING_TOOL) 358 357 machine->m_sampler->stop(); 359 358 machine->m_sampler->dump(globalObject->globalExec()); … … 460 459 KJS::initializeThreading(); 461 460 462 JSLock lock(false);463 464 461 Options options; 465 462 parseArguments(argc, argv, options);
