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

/external/webkit/Source/WebCore/bridge/
H A DtestM.js8 var functionBody = 'return arg1*arg2;' variable
10 myInterface.setJSObject_(new Function ("arg1","arg2",functionBody));
/external/webkit/Source/JavaScriptCore/runtime/
H A DFunctionPrototype.cpp70 static inline void insertSemicolonIfNeeded(UString& functionBody) argument
72 ASSERT(functionBody[0] == '{');
73 ASSERT(functionBody[functionBody.length() - 1] == '}');
75 for (size_t i = functionBody.length() - 2; i > 0; --i) {
76 UChar ch = functionBody[i];
79 functionBody = makeUString(functionBody.substringSharingImpl(0, i + 1), ";", functionBody.substringSharingImpl(i + 1, functionBody
[all...]
/external/webkit/Source/WebCore/editing/
H A DSpellingCorrectionController.h76 #define UNLESS_ENABLED(functionBody) ;
78 #define UNLESS_ENABLED(functionBody) functionBody
/external/webkit/Source/JavaScriptCore/API/tests/
H A Dtestapi.c1200 JSStringRef functionBody; local
1204 functionBody = JSStringCreateWithUTF8CString("rreturn Array;");
1206 ASSERT(!JSObjectMakeFunction(context, NULL, 0, NULL, functionBody, NULL, 1, &exception));
1210 JSStringRelease(functionBody);
1214 functionBody = JSStringCreateWithUTF8CString("return Array;");
1215 function = JSObjectMakeFunction(context, NULL, 0, NULL, functionBody, NULL, 1, &exception);
1216 JSStringRelease(functionBody);
1234 functionBody = JSStringCreateWithUTF8CString("return foo;");
1235 function = JSObjectMakeFunction(context, foo, 1, argumentNames, functionBody, NULL, 1, &exception);
1240 JSStringRelease(functionBody);
[all...]
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DBytecodeGenerator.cpp323 BytecodeGenerator::BytecodeGenerator(FunctionBodyNode* functionBody, ScopeChainNode* scopeChain, SymbolTable* symbolTable, CodeBlock* codeBlock) argument
329 , m_scopeNode(functionBody)
364 if (m_codeBlock->needsFullScopeChain() || functionBody->usesArguments()) {
391 const DeclarationStacks::FunctionStack& functionStack = functionBody->functionStack();
392 const DeclarationStacks::VarStack& varStack = functionBody->varStack();
397 if (functionBody->hasCapturedVariables()) {
401 if (functionBody->captures(ident)) {
413 if (functionBody->captures(ident))
417 bool canLazilyCreateFunctions = !functionBody->needsActivationForMoreThanVariables() && !m_shouldEmitDebugHooks;
429 if (!functionBody
[all...]
/external/webkit/Source/JavaScriptCore/jit/
H A DJIT.cpp487 Label functionBody = label(); local
501 jump(functionBody);

Completed in 240 milliseconds