Searched refs:functionBody (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/bridge/
H A DtestM.js8 var functionBody = 'return arg1*arg2;' variable
10 myInterface.setJSObject_(new Function ("arg1","arg2",functionBody));
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DFunctionPrototype.cpp86 static inline void insertSemicolonIfNeeded(String& functionBody) argument
88 ASSERT(functionBody[0] == '{');
89 ASSERT(functionBody[functionBody.length() - 1] == '}');
91 for (size_t i = functionBody.length() - 2; i > 0; --i) {
92 UChar ch = functionBody[i];
95 functionBody = makeString(functionBody.substringSharingImpl(0, i + 1), ";", functionBody.substringSharingImpl(i + 1, functionBody
[all...]
/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DAlternativeTextController.h85 #define UNLESS_ENABLED(functionBody) \
89 #define UNLESS_ENABLED(functionBody) functionBody
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/tests/
H A Dtestapi.c1550 JSStringRef functionBody; local
1554 functionBody = JSStringCreateWithUTF8CString("rreturn Array;");
1556 ASSERT(!JSObjectMakeFunction(context, NULL, 0, NULL, functionBody, NULL, 1, &exception));
1560 JSStringRelease(functionBody);
1564 functionBody = JSStringCreateWithUTF8CString("return Array;");
1565 function = JSObjectMakeFunction(context, NULL, 0, NULL, functionBody, NULL, 1, &exception);
1566 JSStringRelease(functionBody);
1584 functionBody = JSStringCreateWithUTF8CString("return foo;");
1585 function = JSObjectMakeFunction(context, foo, 1, argumentNames, functionBody, NULL, 1, &exception);
1590 JSStringRelease(functionBody);
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecompiler/
H A DBytecodeGenerator.cpp207 BytecodeGenerator::BytecodeGenerator(VM& vm, JSScope* scope, FunctionBodyNode* functionBody, UnlinkedFunctionCodeBlock* codeBlock, DebuggerMode debuggerMode, ProfilerMode profilerMode) argument
211 , m_scopeNode(functionBody)
239 m_symbolTable->setParameterCountIncludingThis(functionBody->parameters()->size() + 1);
250 if (functionBody->usesArguments() || codeBlock->usesEval() || m_shouldEmitDebugHooks) { // May reify arguments object.
281 if (functionBody->hasCapturedVariables() || shouldCaptureAllTheThings) {
282 FunctionParameters& parameters = *functionBody->parameters();
286 if (!functionBody->captures(parameters.at(i)) && !shouldCaptureAllTheThings)
308 RegisterID* calleeRegister = resolveCallee(functionBody); // May push to the scope chain and/or add a captured var.
310 const DeclarationStacks::FunctionStack& functionStack = functionBody->functionStack();
311 const DeclarationStacks::VarStack& varStack = functionBody
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJIT.cpp652 Label functionBody = label(); local
669 jump(functionBody);

Completed in 208 milliseconds