Searched refs:vm (Results 276 - 300 of 758) sorted by relevance

<<11121314151617181920>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DJSPropertyNameIterator.cpp39 : JSCell(exec->vm(), exec->vm().propertyNameIteratorStructure.get())
79 jsPropertyNameIterator->setCachedPrototypeChain(exec->vm(), structureChain);
80 jsPropertyNameIterator->setCachedStructure(exec->vm(), o->structure());
81 o->structure()->setEnumerationCache(exec->vm(), jsPropertyNameIterator);
H A DNumberConstructor.cpp65 Base::finishCreation(exec->vm(), numberPrototype->s_info.className);
69 putDirectWithoutTransition(exec->vm(), exec->propertyNames().prototype, numberPrototype, DontEnum | DontDelete | ReadOnly);
72 putDirectWithoutTransition(exec->vm(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
118 NumberObject* object = NumberObject::create(exec->vm(), asInternalFunction(exec->callee())->globalObject()->numberObjectStructure());
120 object->setInternalValue(exec->vm(), jsNumber(n));
H A DJSONObject.cpp58 : JSNonFinalObject(globalObject->vm(), structure)
64 Base::finishCreation(globalObject->vm());
220 unsigned length = array->get(exec, exec->vm().propertyNames->length).toUInt32(exec);
243 return Local<Unknown>(m_exec->vm(), jsNull());
245 PropertyNameForFunctionCall emptyPropertyName(m_exec->vm().propertyNames->emptyIdentifier);
246 object->putDirect(m_exec->vm(), m_exec->vm().propertyNames->emptyIdentifier, value.get());
250 return Local<Unknown>(m_exec->vm(), jsUndefined());
252 return Local<Unknown>(m_exec->vm(), jsNull());
254 return Local<Unknown>(m_exec->vm(), jsStrin
462 Holder(VM& vm, JSObject* object) argument
[all...]
H A DJSGlobalObject.h198 static JSGlobalObject* create(VM& vm, Structure* structure) argument
200 JSGlobalObject* globalObject = new (NotNull, allocateCell<JSGlobalObject>(vm.heap)) JSGlobalObject(vm, structure);
201 globalObject->finishCreation(vm);
202 vm.heap.addFinalizer(globalObject, destroy);
214 void finishCreation(VM& vm) argument
216 Base::finishCreation(vm);
217 structure()->setGlobalObject(vm, this);
222 void finishCreation(VM& vm, JSObject* thisValue) argument
224 Base::finishCreation(vm);
385 VM& vm() const { return *Heap::heap(this)->vm(); } function in class:JSC::JSGlobalObject
388 createStructure(VM& vm, JSValue prototype) argument
[all...]
H A DJSActivation.cpp89 VM& vm = exec->vm(); local
105 registerAt(entry.getIndex()).set(vm, this, value);
128 inline bool JSActivation::symbolTablePutWithAttributes(VM& vm, PropertyName propertyName, JSValue value, unsigned attributes) argument
141 registerAt(entry.getIndex()).set(vm, this, value);
160 if (JSValue value = thisObject->getDirect(exec->vm(), propertyName)) {
204 thisObject->putOwnDataProperty(exec->vm(), propertyName, value, slot);
213 if (thisObject->symbolTablePutWithAttributes(exec->vm(), propertyName, value, attributes))
248 JSValue arguments = JSValue(Arguments::create(callFrame->vm(), callFrame));
H A DArrayConstructor.cpp64 Base::finishCreation(exec->vm(), arrayPrototype->classInfo()->className);
65 putDirectWithoutTransition(exec->vm(), exec->propertyNames().prototype, arrayPrototype, DontEnum | DontDelete | ReadOnly);
66 putDirectWithoutTransition(exec->vm(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
H A DErrorPrototype.cpp53 : ErrorInstance(exec->vm(), structure)
59 Base::finishCreation(exec->vm(), "");
61 putDirect(exec->vm(), exec->propertyNames().name, jsNontrivialString(exec, String(ASCIILiteral("Error"))), DontEnum);
H A DLiteralParser.cpp60 Identifier name = Identifier(&m_exec->vm(), m_lexer.currentToken().start, m_lexer.currentToken().end - m_lexer.currentToken().start);
62 if (name == m_exec->vm().propertyNames->varKeyword) {
66 entry.m_pathEntryName = Identifier(&m_exec->vm(), m_lexer.currentToken().start, m_lexer.currentToken().end - m_lexer.currentToken().start);
70 entry.m_pathEntryName = Identifier(&m_exec->vm(), m_lexer.currentToken().start, m_lexer.currentToken().end - m_lexer.currentToken().start);
73 if (m_exec->vm().keywords->isKeyword(entry.m_pathEntryName))
97 entry.m_pathEntryName = Identifier(&m_exec->vm(), m_lexer.currentToken().start, m_lexer.currentToken().end - m_lexer.currentToken().start);
116 results.last().m_value.set(m_exec->vm(), parse(StartParseExpression));
136 return m_exec->vm().propertyNames->emptyIdentifier;
138 return Identifier(&m_exec->vm(), characters, length);
143 m_shortIdentifiers[characters[0]] = Identifier(&m_exec->vm(), character
[all...]
H A DObjectConstructor.cpp88 Base::finishCreation(exec->vm(), Identifier(exec, "Object").string());
90 putDirectWithoutTransition(exec->vm(), exec->propertyNames().prototype, objectPrototype, DontEnum | DontDelete | ReadOnly);
92 putDirectWithoutTransition(exec->vm(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
163 description->putDirect(exec->vm(), exec->propertyNames().value, descriptor.value() ? descriptor.value() : jsUndefined(), 0);
164 description->putDirect(exec->vm(), exec->propertyNames().writable, jsBoolean(descriptor.writable()), 0);
168 description->putDirect(exec->vm(), exec->propertyNames().get, descriptor.getter(), 0);
169 description->putDirect(exec->vm(), exec->propertyNames().set, descriptor.setter(), 0);
172 description->putDirect(exec->vm(), exec->propertyNames().enumerable, jsBoolean(descriptor.enumerable()), 0);
173 description->putDirect(exec->vm(), exec->propertyNames().configurable, jsBoolean(descriptor.configurable()), 0);
371 object->seal(exec->vm());
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/vmalloc/
H A Dvmstat.c36 int vmstat(Vmalloc_t* vm, Vmstat_t* st) argument
38 int vmstat(vm, st)
39 Vmalloc_t* vm;
46 reg Vmdata_t* vd = vm ? vm->data : Vmregion->data;
/macosx-10.9.5/lsof-52/lsof/dialects/darwin/kmem/
H A Ddmnt.c177 readvfs(vm)
178 KA_T vm; /* kernel mount address from vnode */
186 if (vm == vp->addr)
192 if (kread((KA_T)vm, (char *)&m, sizeof(m)) != 0)
206 vp->addr = vm;
/macosx-10.9.5/JavaScriptCore-7537.78.1/llint/
H A DLLIntSlowPaths.cpp58 VM& vm = exec->vm(); \
59 NativeCallFrameTracer tracer(&vm, exec)
86 vm.exception = (exceptionToThrow); \
92 if (UNLIKELY(vm.exception)) { \
155 vm.exception = (exceptionToThrow); \
162 if (UNLIKELY(vm.exception)) \
181 exec->vm().interpreter->getOpcodeID(pc[0].u.opcode),
204 exec->vm().interpreter->getOpcodeID(pc[0].u.opcode),
261 opcodeNames[exec->vm()
1328 VM& vm = exec->vm(); local
1391 VM& vm = *scope->vm(); local
[all...]
H A DLowLevelInterpreter.cpp268 ASSERT(callFrame->vm().topCallFrame == callFrame);
322 sp->vm = &callFrame->vm();
324 // Set up an alias for the vm ptr in the JITStackFrame:
325 VM* &vm = sp->vm; local
426 JSValue result = vm->hostCallReturnValue;
438 return vm->exception;
/macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/test/JS/
H A DJSTestException.cpp60 Base::finishCreation(exec->vm());
62 putDirect(exec->vm(), exec->propertyNames().prototype, JSTestExceptionPrototype::self(exec, globalObject), DontDelete | ReadOnly);
63 putDirect(exec->vm(), exec->propertyNames().length, jsNumber(0), ReadOnly | DontDelete | DontEnum);
99 void JSTestException::finishCreation(VM& vm) argument
101 Base::finishCreation(vm);
107 return JSTestExceptionPrototype::create(exec->vm(), globalObject, JSTestExceptionPrototype::createStructure(globalObject->vm(), globalObject, globalObject->errorPrototype()));
H A DJSTestNode.cpp67 Base::finishCreation(exec->vm());
69 putDirect(exec->vm(), exec->propertyNames().prototype, JSTestNodePrototype::self(exec, globalObject), DontDelete | ReadOnly);
70 putDirect(exec->vm(), exec->propertyNames().length, jsNumber(0), ReadOnly | DontDelete | DontEnum);
111 void JSTestNode::finishCreation(VM& vm) argument
113 Base::finishCreation(vm);
119 return JSTestNodePrototype::create(exec->vm(), globalObject, JSTestNodePrototype::createStructure(exec->vm(), globalObject, JSNodePrototype::self(exec, globalObject)));
H A DJSTestNamedConstructor.cpp60 Base::finishCreation(exec->vm());
62 putDirect(exec->vm(), exec->propertyNames().prototype, JSTestNamedConstructorPrototype::self(exec, globalObject), DontDelete | ReadOnly);
63 putDirect(exec->vm(), exec->propertyNames().length, jsNumber(0), ReadOnly | DontDelete | DontEnum);
110 putDirect(exec->vm(), exec->propertyNames().prototype, JSTestNamedConstructorPrototype::self(exec, globalObject), None);
111 putDirect(exec->vm(), exec->propertyNames().length, jsNumber(0), ReadOnly | DontDelete | DontEnum);
143 void JSTestNamedConstructor::finishCreation(VM& vm) argument
145 Base::finishCreation(vm);
151 return JSTestNamedConstructorPrototype::create(exec->vm(), globalObject, JSTestNamedConstructorPrototype::createStructure(globalObject->vm(), globalObject, globalObject->objectPrototype()));
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSBase.cpp112 exec->vm().heap.reportAbandonedObjectGraph();
123 exec->vm().heap.reportExtraMemoryCost(size);
135 exec->vm().heap.collectAllGarbage();
H A DJSObjectRef.cpp95 object->setPrototype(exec->vm(), prototype);
125 constructor->putDirect(exec->vm(), exec->propertyNames().prototype, jsPrototype, DontEnum | DontDelete | ReadOnly);
138 Identifier nameID = name ? name->identifier(&exec->vm()) : Identifier(exec, "anonymous");
280 jsObject->setPrototypeWithCycleCheck(exec->vm(), jsValue.isObject() ? jsValue : jsNull());
294 return jsObject->hasProperty(exec, propertyName->identifier(&exec->vm()));
308 JSValue jsValue = jsObject->get(exec, propertyName->identifier(&exec->vm()));
327 Identifier name(propertyName->identifier(&exec->vm()));
396 bool result = jsObject->methodTable()->deleteProperty(jsObject, exec, propertyName->identifier(&exec->vm()));
449 Identifier name(propertyName->identifier(&exec->vm()));
467 Identifier name(propertyName->identifier(&exec->vm()));
592 OpaqueJSPropertyNameArray(VM* vm) argument
599 VM* vm; member in struct:OpaqueJSPropertyNameArray
613 VM* vm = &exec->vm(); local
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/assembler/
H A DAssemblerBuffer.h133 PassRefPtr<ExecutableMemoryHandle> executableCopy(VM& vm, void* ownerUID, JITCompilationEffort effort) argument
138 RefPtr<ExecutableMemoryHandle> result = vm.executableAllocator.allocate(vm, m_index, ownerUID, effort);
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGOSREntry.cpp51 VM* vm = &exec->vm(); local
136 if (!vm->interpreter->stack().grow(&exec->registers()[codeBlock->m_numCalleeRegisters])) {
H A DDFGPhase.h60 VM& vm() { return m_graph.m_vm; } function in class:JSC::DFG::Phase
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITCode.h133 inline JSValue execute(JSStack* stack, CallFrame* callFrame, VM* vm)
135 JSValue result = JSValue::decode(ctiTrampoline(m_ref.code().executableAddress(), stack, callFrame, 0, 0, vm));
136 return vm->exception ? jsNull() : result;
H A DSpecializedThunkJIT.h58 void loadJSStringArgument(VM& vm, int argument, RegisterID dst) argument
61 m_failures.append(branchPtr(NotEqual, Address(dst, JSCell::structureOffset()), TrustedImmPtr(vm.stringStructure.get())));
133 MacroAssemblerCodeRef finalize(VM& vm, MacroAssemblerCodePtr fallback, const char* thunkKind) argument
135 LinkBuffer patchBuffer(vm, this, GLOBAL_THUNK_ID);
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSMessageEventCustom.cpp87 const_cast<JSMessageEvent*>(this)->m_data.set(exec->vm(), this, result);
108 ScriptValue dataArg = ScriptValue(exec->vm(), exec->argument(3));
114 jsEvent->m_data.set(exec->vm(), jsEvent, dataArg.jsValue());
/macosx-10.9.5/JavaScriptCore-7537.78.1/profiler/
H A DProfilerDatabase.cpp45 Database::Database(VM& vm) argument
47 , m_vm(vm)
101 result->putDirect(exec->vm(), exec->propertyNames().bytecodes, bytecodes);
106 result->putDirect(exec->vm(), exec->propertyNames().compilations, compilations);

Completed in 170 milliseconds

<<11121314151617181920>>