Lines Matching full:interpreter
466 Save and restore interpreter context independently from calling context.
727 as the Interpreter needs to be created after the global object. In this situation the initialization is deferred until after the Interpreter's
735 (JSGlobalContextCreate): Initialize the JSCallbackObject with the Interpreter's ExecState.
747 (JSGlobalContextCreate): Specify jsNull() as the prototype and let Interpreter's constructor fix it up to point at builtinObjectPrototype().
1228 Implemented currentTime() in the interpreter by using QDateTime, so that we don't need timeGetTime() on Windows and therefore also don't need to link against Winmm.dll.
1230 * kjs/interpreter.cpp:
3741 * kjs/interpreter.cpp:
3742 (KJS::Interpreter::init):
3743 (KJS::Interpreter::initGlobalObject):
3744 * kjs/interpreter.h:
4388 * kjs/interpreter.cpp:
4389 (KJS::Interpreter::mark): Removed boolean parameter, which was an incomplete
4391 * kjs/interpreter.h:
4496 Changed Interpreter cache of global constructors and prototypes from
4506 * kjs/interpreter.cpp:
4507 (KJS::Interpreter::init):
4508 (KJS::Interpreter::~Interpreter):
4509 (KJS::Interpreter::initGlobalObject): Moved Identifier::init() call to
4511 (KJS::Interpreter::mark):
4512 * kjs/interpreter.h:
4521 Don't GC in the Interpreter destructor. For that to work, the Interpreter
4528 Also removed Interpreter::collect() because it was redundant with
4532 * kjs/interpreter.cpp:
4533 (KJS::Interpreter::~Interpreter):
4716 * kjs/interpreter.cpp:
4717 (KJS::Interpreter::init):
4718 (KJS::Interpreter::~Interpreter):
4719 (KJS::Interpreter::startTimeoutCheck):
4720 (KJS::Interpreter::stopTimeoutCheck):
4721 (KJS::Interpreter::resetTimeoutCheck):
4723 (KJS::Interpreter::checkTimeout):
4724 * kjs/interpreter.h:
4725 (KJS::Interpreter::timedOut):
5198 the global object, since the RootObject already owns the interpreter.
5403 rootObjectForImp => findRootObject (overloaded for JSObject* and Interpreter*)
5427 rootObjectForImp => getRootObject (overloaded for JSObject* and Interpreter*)
5800 * bindings/runtime_root.h: Changed Interpreter* to RefPtr<Interpreter>
5804 Interpreter*, since it's pointless to create a RootObject without one.
5806 a confusing way of setting and getting the Interpreter's global object.
5809 (KJS::Bindings::RootObject::interpreter): "_interpreter" => "m_interpreter"
5865 * kjs/interpreter.h: Removed rtti() because it was unused, and this class
5868 * kjs/interpreter.cpp: Removed createLanguageInstanceForValue because it had
5869 nothing to do with the Interpreter, and nothing makes Chuck Norris more mad
6279 * kjs/interpreter.cpp:
6280 (KJS::Interpreter::~Interpreter): Garbage collect here, since
6281 destroying the interpreter frees the global object and
7777 * kjs/interpreter.cpp:
7778 (KJS::Interpreter::createLanguageInstanceForValue):
7779 * kjs/interpreter.h:
8235 thrown by an interpreter.
8932 interpreter, which, in the case of a global ExecState, owns it.
8934 - Also made ~Interpreter() protected to catch places where Interpreter
8936 decided it would be a good idea to subclass Interpreter in other frameworks.
8944 (KJS::Interpreter::Interpreter): Factored more common initialization into
8946 * kjs/interpreter.h:
8947 (KJS::Interpreter::ref): new
8948 (KJS::Interpreter::deref): new
8949 (KJS::Interpreter::refCount): new
8951 (doIt): Ref-count the interpreter.
9439 The FIXME in JSObjectRef.h requires refactoring some parts of Interpreter,
9734 * kjs/interpreter.cpp:
9735 (KJS::Interpreter::checkSyntax):
9736 * kjs/interpreter.h:
10017 * JavaScriptCore/kjs/interpreter.cpp: added include of signal.h
10154 * kjs/interpreter.cpp:
10155 (KJS::Interpreter::evaluate):
10369 * kjs/interpreter.cpp:
10370 (KJS::Interpreter::evaluate):
10417 * kjs/interpreter.cpp:
10426 * kjs/interpreter.cpp:
10434 (KJS::Interpreter::handleTimeout):
10443 Windows build breaks in interpreter.cpp
10445 * kjs/interpreter.cpp
10490 * kjs/interpreter.cpp:
10496 New TimeoutChecker class which handles setting Interpreter::m_timedOut flag after a given
10499 (KJS::Interpreter::Interpreter):
10502 (KJS::Interpreter::~Interpreter):
10505 (KJS::Interpreter::startTimeoutCheck):
10506 (KJS::Interpreter::stopTimeoutCheck):
10507 (KJS::Interpreter::pauseTimeoutCheck):
10508 (KJS::Interpreter::resumeTimeoutCheck):
10511 (KJS::Interpreter::handleTimeout):
10514 * kjs/interpreter.h:
10515 (KJS::Interpreter::setTimeoutTime):
10518 (KJS::Interpreter::shouldInterruptScript):
10522 (KJS::Interpreter::checkTimeout):
10529 Call Interpreter::checkTimeout after each iteration of the loop.
10547 * bindings/runtime_root.h: Changed "Interpreter.h" to "interpreter.h"
10561 - Merged InterpreterImp code into Interpreter, which implements
10562 all interpreter functionality now. This is part of my continuing quest
10564 something to replace the mix of Context, ContextImp, ExecState, Interpreter,
10600 * kjs/interpreter.cpp:
10602 (KJS::Interpreter::Interpreter):
10603 (KJS::Interpreter::init):
10604 (KJS::Interpreter::~Interpreter):
10605 (KJS::Interpreter::globalObject):
10606 (KJS::Interpreter::initGlobalObject):
10607 (KJS::Interpreter::globalExec):
10608 (KJS::Interpreter::checkSyntax):
10609 (KJS::Interpreter::evaluate):
10610 (KJS::Interpreter::builtinObject):
10611 (KJS::Interpreter::builtinFunction):
10612 (KJS::Interpreter::builtinArray):
10613 (KJS::Interpreter::builtinBoolean):
10614 (KJS::Interpreter::builtinString):
10615 (KJS::Interpreter::builtinNumber):
10616 (KJS::Interpreter::builtinDate):
10617 (KJS::Interpreter::builtinRegExp):
10618 (KJS::Interpreter::builtinError):
10619 (KJS::Interpreter::builtinObjectPrototype):
10620 (KJS::Interpreter::builtinFunctionPrototype):
10621 (KJS::Interpreter::builtinArrayPrototype):
10622 (KJS::Interpreter::builtinBooleanPrototype):
10623 (KJS::Interpreter::builtinStringPrototype):
10624 (KJS::Interpreter::builtinNumberPrototype):
10625 (KJS::Interpreter::builtinDatePrototype):
10626 (KJS::Interpreter::builtinRegExpPrototype):
10627 (KJS::Interpreter::builtinErrorPrototype):
10628 (KJS::Interpreter::builtinEvalError):
10629 (KJS::Interpreter::builtinRangeError):
10630 (KJS::Interpreter::builtinReferenceError):
10631 (KJS::Interpreter::builtinSyntaxError):
10632 (KJS::Interpreter::builtinTypeError):
10633 (KJS::Interpreter::builtinURIError):
10634 (KJS::Interpreter::builtinEvalErrorPrototype):
10635 (KJS::Interpreter::builtinRangeErrorPrototype):
10636 (KJS::Interpreter::builtinReferenceErrorPrototype):
10637 (KJS::Interpreter::builtinSyntaxErrorPrototype):
10638 (KJS::Interpreter::builtinTypeErrorPrototype):
10639 (KJS::Interpreter::builtinURIErrorPrototype):
10640 (KJS::Interpreter::mark):
10641 (KJS::Interpreter::interpreterWithGlobalObject):
10642 (KJS::Interpreter::saveBuiltins):
10643 (KJS::Interpreter::restoreBuiltins):
10644 * kjs/interpreter.h:
10645 (KJS::Interpreter::setCompatMode):
10646 (KJS::Interpreter::compatMode):
10647 (KJS::Interpreter::firstInterpreter):
10648 (KJS::Interpreter::nextInterpreter):
10649 (KJS::Interpreter::prevInterpreter):
10650 (KJS::Interpreter::debugger):
10651 (KJS::Interpreter::setDebugger):
10652 (KJS::Interpreter::setContext):
10653 (KJS::Interpreter::context):
10730 * kjs/interpreter.cpp:
10731 * kjs/interpreter.h:
10901 * kjs/interpreter.cpp:
10902 (KJS::Interpreter::mark):
10903 * kjs/interpreter.h:
11785 * kjs/interpreter.cpp:
11787 * kjs/interpreter.h:
12215 * kjs/interpreter.cpp:
12217 * kjs/interpreter.h:
12480 * kjs/interpreter.cpp:
12481 (KJS::Interpreter::evaluate):
12482 (KJS::Interpreter::createLanguageInstanceForValue):
12483 * kjs/interpreter.h:
12691 * kjs/interpreter.cpp:
12692 (KJS::Interpreter::evaluate):
12693 * kjs/interpreter.h:
12694 (KJS::Interpreter::isGlobalObject):
12695 (KJS::Interpreter::interpreterForGlobalObject):
12696 (KJS::Interpreter::isSafeScript):
12952 * kjs/interpreter.cpp:
12953 (KJS::Interpreter::evaluate): Print line numbers with exception output
12968 printing code because the interpreter prints exceptions for you. Added
13987 * kjs/interpreter.cpp:
13988 * kjs/interpreter.h:
14063 * kjs/interpreter.h: make globalExec virtual so ScriptInterpreter can
14071 * kjs/interpreter.cpp: ditto
14320 * kjs/interpreter.cpp:
14322 * kjs/interpreter.h:
14323 Add helper to interpreter to call the collector in order to facilitate
14361 * kjs/interpreter.cpp: Removed APPLE_CHANGES ifdef around the include
15287 * kjs/interpreter.h:
15288 * kjs/interpreter.cpp: (Interpreter::evaluate): Ditto.
15637 * kjs/interpreter.h:
15983 * kjs/interpreter.cpp:
15984 (Interpreter::evaluate):
16040 * kjs/interpreter.cpp:
16041 * kjs/interpreter.h:
16064 before any interpreter has been created and after the last interpreter
16676 * kjs/interpreter.cpp:
16798 (KJS::interpreterMap): Function that fetches the interpreter map on demand.
17187 <rdar://problem/4260479> Finish deploying PropertySlot in the interpreter
17447 * kjs/interpreter.cpp:
17448 (Interpreter::evaluate):
17449 * kjs/interpreter.h:
18981 * kjs/interpreter.cpp:
18984 (Interpreter::Interpreter):
18985 (Interpreter::globalObject):
18986 (Interpreter::evaluate):
18987 (Interpreter::builtinObject):
18988 (Interpreter::builtinFunction):
18989 (Interpreter::builtinArray):
18990 (Interpreter::builtinBoolean):
18991 (Interpreter::builtinString):
18992 (Interpreter::builtinNumber):
18993 (Interpreter::builtinDate):
18994 (Interpreter::builtinRegExp):
18995 (Interpreter::builtinError):
18996 (Interpreter::builtinObjectPrototype):
18997 (Interpreter::builtinFunctionPrototype):
18998 (Interpreter::builtinArrayPrototype):
18999 (Interpreter::builtinBooleanPrototype):
19000 (Interpreter::builtinStringPrototype):
19001 (Interpreter::builtinNumberPrototype):
19002 (Interpreter::builtinDatePrototype):
19003 (Interpreter::builtinRegExpPrototype):
19004 (Interpreter::builtinErrorPrototype):
19005 (Interpreter::builtinEvalError):
19006 (Interpreter::builtinRangeError):
19007 (Interpreter::builtinReferenceError):
19008 (Interpreter::builtinSyntaxError):
19009 (Interpreter::builtinTypeError):
19010 (Interpreter::builtinURIError):
19011 (Interpreter::builtinEvalErrorPrototype):
19012 (Interpreter::builtinRangeErrorPrototype):
19013 (Interpreter::builtinReferenceErrorPrototype):
19014 (Interpreter::builtinSyntaxErrorPrototype):
19015 (Interpreter::builtinTypeErrorPrototype):
19016 (Interpreter::builtinURIErrorPrototype):
19017 (Interpreter::createLanguageInstanceForValue):
19018 * kjs/interpreter.h:
19019 (KJS::Interpreter::isGlobalObject):
19375 * kjs/interpreter.cpp:
19376 (Interpreter::Interpreter):
19377 (Interpreter::createLanguageInstanceForValue):
19378 * kjs/interpreter.h:
19379 (KJS::Interpreter::argumentsIdentifier):
19380 (KJS::Interpreter::specialPrototypeIdentifier):
19548 * kjs/interpreter.cpp:
19549 * kjs/interpreter.h:
19550 (KJS::Interpreter::imp):
19843 * kjs/interpreter.cpp:
19844 (Interpreter::finalCheck): removed misleading while && comment
19885 * kjs/interpreter.cpp:
19886 * kjs/interpreter.h:
20190 * kjs/interpreter.h:
20243 fixed: <rdar://problem/4166838> failed assertion in`Interpreter::lockCount() > 0
20248 (+[WebScriptObject _convertValueToObjcValue:KJS::originExecutionContext:Bindings::executionContext:Bindings::]): make sure to lock and unlock the interpreter around allocations.
21237 Re-factored how 'native' wrappers for JS objects are created. The interpreter now
21238 creates these wrappers. The WebCore subclass of the interpreter now overrides
21265 * kjs/interpreter.cpp:
21266 (Interpreter::createLanguageInstanceForValue):
21267 * kjs/interpreter.h:
21508 * kjs/interpreter.h:
21509 (KJS::Interpreter::isGlobalObject):
21510 (KJS::Interpreter::interpreterForGlobalObject):
21511 (KJS::Interpreter::isSafeScript):
22191 * kjs/interpreter.cpp:
22192 (Interpreter::evaluate):
23035 - fixed <rdar://problem/3682489>: (JavaScriptGlue no longer compiles because Interpreter::evaluate parameters changed)
23037 * kjs/interpreter.h: Added an overload to make JavaScriptGlue compile.
23038 * kjs/interpreter.cpp: (KJS::Interpreter::evaluate): Implemented the overload.
23064 - the lexer, parser, and interpreter have been made "sourceURL aware"
23082 * kjs/interpreter.cpp:
23083 (Interpreter::evaluate):
23084 * kjs/interpreter.h:
23669 * kjs/interpreter.h:
23711 Added interpreter lock protection around object creation.
23804 interpreter that started execution. This fixes the following bugs:
23840 * kjs/interpreter.cpp:
23842 * kjs/interpreter.h:
23844 (KJS::ExecState::interpreter):
24462 (KJS::Bindings::RootObject::interpreter):
24673 - fixed the test program so it won't hit the interpreter lock assertion
25114 Ack! More assertions. Lock ALL entry points into the interpreter!
25148 Added additional interpreter locks around getMember and getSlot.
25154 lock interpreter when we create instances of JS impls.
25313 (Bindings::RootObject::interpreter):
25389 <rdar://problem/3505183>: JavaScriptCore should assert that interpreter is locked in collector
25392 (KJS::Collector::allocate): Assert that interpreter lock count is not 0.
25631 * kjs/interpreter.h: