HomeSort by relevance Sort by last modified time
    Searched refs:CodeBlock (Results 1 - 25 of 27) sorted by null

1 2

  /external/webkit/JavaScriptCore/runtime/
ExceptionHelpers.h 35 class CodeBlock;
48 JSValue createUndefinedVariableError(ExecState*, const Identifier&, unsigned bytecodeOffset, CodeBlock*);
50 JSObject* createInvalidParamError(ExecState*, const char* op, JSValue, unsigned bytecodeOffset, CodeBlock*);
51 JSObject* createNotAConstructorError(ExecState*, JSValue, unsigned bytecodeOffset, CodeBlock*);
52 JSValue createNotAFunctionError(ExecState*, JSValue, unsigned bytecodeOffset, CodeBlock*);
53 JSObject* createNotAnObjectError(ExecState*, JSNotAnObjectErrorStub*, unsigned bytecodeOffset, CodeBlock*);
Executable.h 36 class CodeBlock;
143 virtual ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*) = 0;
175 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*);
222 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*) { ASSERT_NOT_REACHED(); return 0; }
266 CodeBlock& bytecode(ExecState* exec, ScopeChainNode* scopeChainNode)
279 CodeBlock& generatedBytecode()
291 ExceptionInfo* reparseExceptionInfo(JSGlobalData*, ScopeChainNode*, CodeBlock*);
324 CodeBlock* m_codeBlock;
ExceptionHelpers.cpp 32 #include "CodeBlock.h"
74 JSValue createUndefinedVariableError(ExecState* exec, const Identifier& ident, unsigned bytecodeOffset, CodeBlock* codeBlock)
79 int line = codeBlock->expressionRangeForBytecodeOffset(exec, bytecodeOffset, divotPoint, startOffset, endOffset);
80 JSObject* exception = Error::create(exec, ReferenceError, makeString("Can't find variable: ", ident.ustring()), line, codeBlock->ownerExecutable()->sourceID(), codeBlock->ownerExecutable()->sourceURL());
87 static UString createErrorMessage(ExecState* exec, CodeBlock* codeBlock, int, int expressionStart, int expressionStop, JSValue value, UString error)
89 if (!expressionStop || expressionStart > codeBlock->source()->length())
92 return makeString("Result of expression '", codeBlock->source()->getRange(expressionStart, expressionStop), "' [", value.toString(exec), "] is ", error, (…)
    [all...]
Executable.cpp 30 #include "CodeBlock.h"
142 CodeBlock* codeBlock = &bytecode(exec, scopeChainNode);
143 m_jitCode = JIT::compile(scopeChainNode->globalData, codeBlock);
147 codeBlock->discardBytecode();
153 CodeBlock* codeBlock = &bytecode(exec, scopeChainNode);
154 m_jitCode = JIT::compile(scopeChainNode->globalData, codeBlock);
158 codeBlock->discardBytecode();
164 CodeBlock* codeBlock = &bytecode(exec, scopeChainNode)
    [all...]
JSGlobalData.h 51 class CodeBlock;
174 CodeBlock* functionCodeBlockBeingReparsed;
  /external/webkit/JavaScriptCore/bytecompiler/
Label.h 32 #include "CodeBlock.h"
42 explicit Label(CodeBlock* codeBlock)
45 , m_codeBlock(codeBlock)
84 CodeBlock* m_codeBlock;
BytecodeGenerator.h 33 #include "CodeBlock.h"
80 BytecodeGenerator(FunctionBodyNode*, const Debugger*, const ScopeChain&, SymbolTable*, CodeBlock*);
108 // to the scope containing this codeblock.
373 void setRegeneratingForExceptionInfo(CodeBlock* originalCodeBlock)
478 CodeBlock* m_codeBlock;
524 CodeBlock* m_codeBlockBeingRegeneratedFrom;
  /external/webkit/JavaScriptCore/interpreter/
Interpreter.h 44 class CodeBlock;
134 void tryCacheGetByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const Identifier& propertyName, const PropertySlot&);
135 void uncacheGetByID(CodeBlock*, Instruction* vPC);
136 void tryCachePutByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const PutPropertySlot&);
137 void uncachePutByID(CodeBlock*, Instruction* vPC);
140 NEVER_INLINE bool unwindCallFrame(CallFrame*&, JSValue, unsigned& bytecodeOffset, CodeBlock*&);
142 static ALWAYS_INLINE CallFrame* slideRegisterWindowForCall(CodeBlock*, RegisterFile*, CallFrame*, size_t registerOffset, int argc);
Register.h 40 class CodeBlock;
61 Register& operator=(CodeBlock*);
71 CodeBlock* codeBlock() const;
91 CodeBlock* codeBlock;
142 ALWAYS_INLINE Register& Register::operator=(CodeBlock* codeBlock)
144 u.codeBlock = codeBlock;
    [all...]
CallFrame.h 41 CodeBlock* codeBlock() const { return this[RegisterFile::CodeBlock].Register::codeBlock(); }
117 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain,
122 setCodeBlock(codeBlock);
132 // Read a register from the codeframe (or constant from the CodeBlock).
145 void setCodeBlock(CodeBlock* codeBlock) { static_cast<Register*>(this)[RegisterFile::CodeBlock] = codeBlock;
    [all...]
RegisterFile.h 101 CodeBlock = -8,
Interpreter.cpp 37 #include "CodeBlock.h"
73 static ALWAYS_INLINE unsigned bytecodeOffsetForPC(CallFrame* callFrame, CodeBlock* codeBlock, void* pc)
76 return codeBlock->getBytecodeIndex(callFrame, ReturnAddressPtr(pc));
79 return static_cast<Instruction*>(pc) - codeBlock->instructions().begin();
84 static int depth(CodeBlock* codeBlock, ScopeChain& sc)
86 if (!codeBlock->needsFullScopeChain())
102 CodeBlock* codeBlock = callFrame->codeBlock()
    [all...]
  /external/webkit/JavaScriptCore/bytecode/
SamplingTool.h 91 class CodeBlock;
114 void sample(CodeBlock*, Instruction*);
117 CodeBlock* m_codeBlock;
163 CodeBlock* m_savedCodeBlock;
217 void sample(CodeBlock* codeBlock, Instruction* vPC)
220 m_codeBlock = codeBlock;
224 CodeBlock** codeBlockSlot() { return &m_codeBlock; }
238 Sample(volatile intptr_t sample, CodeBlock* volatile codeBlock)
    [all...]
CodeBlock.h 53 // 0x40000000-0x7FFFFFFF Positive indices from 0x40000000 specify entries in the constant pool on the CodeBlock.
113 PtrAndFlags<CodeBlock, HasSeenShouldRepatch> ownerCodeBlock;
114 CodeBlock* callee;
261 class CodeBlock : public FastAllocBase {
264 CodeBlock(ScriptExecutable* ownerExecutable, CodeType, PassRefPtr<SourceProvider>, unsigned sourceOffset, SymbolTable* symbolTable);
266 virtual ~CodeBlock();
568 class GlobalCodeBlock : public CodeBlock {
571 : CodeBlock(ownerExecutable, codeType, sourceProvider, sourceOffset, &m_unsharedSymbolTable)
621 class FunctionCodeBlock : public CodeBlock {
624 // as we need to initialise the CodeBlock before we could initialise any RefPtr to hold the share
    [all...]
CodeBlock.cpp 31 #include "CodeBlock.h"
81 CString CodeBlock::registerName(ExecState* exec, int r) const
139 void CodeBlock::printUnaryOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const
147 void CodeBlock::printBinaryOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const
155 void CodeBlock::printConditionalJump(ExecState* exec, const Vector<Instruction>::const_iterator&, Vector<Instruction>::const_iterator& it, int location, const char* op) const
162 void CodeBlock::printGetByIdOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const
171 void CodeBlock::printPutByIdOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const
277 void CodeBlock::printStructure(const char* name, const Instruction* vPC, int operand) const
283 void CodeBlock::printStructures(const Instruction* vPC) const
325 void CodeBlock::dump(ExecState* exec) cons
    [all...]
SamplingTool.cpp 32 #include "CodeBlock.h"
160 void ScriptSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC)
163 m_size = codeBlock->instructions().size();
165 m_codeBlock = codeBlock;
170 unsigned offest = vPC - codeBlock->instructions().begin();
171 // Since we don't read and write codeBlock and vPC atomically, this check
198 if (CodeBlock* codeBlock = sample.codeBlock()) {
    [all...]
  /external/webkit/JavaScriptCore/jit/
JIT.h 43 #include "CodeBlock.h"
57 class CodeBlock;
171 void ctiPatchNearCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction);
172 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction);
173 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, FunctionPtr newCalleeFunction);
281 static JITCode compile(JSGlobalData* globalData, CodeBlock* codeBlock)
    [all...]
JITStubs.h 43 class CodeBlock;
69 CodeBlock* codeBlock() { return static_cast<CodeBlock*>(asPointer); }
247 static void tryCacheGetByID(CallFrame*, CodeBlock*, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, const PropertySlot&, StructureStubInfo* stubInfo);
248 static void tryCachePutByID(CallFrame*, CodeBlock*, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot&, StructureStubInfo* stubInfo);
JIT.cpp 37 #include "CodeBlock.h"
56 void ctiPatchNearCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction)
58 RepatchBuffer repatchBuffer(codeblock);
62 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction)
64 RepatchBuffer repatchBuffer(codeblock);
68 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, FunctionPtr newCalleeFunction)
70 RepatchBuffer repatchBuffer(codeblock);
    [all...]
JITStubs.cpp 37 #include "CodeBlock.h"
783 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo)
792 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(cti_op_put_by_id_generic));
800 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(cti_op_put_by_id_generic));
806 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(cti_op_put_by_id_generic));
815 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(cti_op_put_by_id_generic));
824 JIT::compilePutByIdTransition(callFrame->scopeChain()->globalData, codeBlock, stubInfo, structure->previousID(), structure, slot.cachedOffset(), prototypeChain, returnAddress);
830 JIT::patchPutByIdReplace(codeBlock, stubInfo, structure, slot.cachedOffset(), returnAddress);
833 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, con (…)
    [all...]
JITPropertyAccess.cpp 31 #include "CodeBlock.h"
617 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress)
619 RepatchBuffer repatchBuffer(codeBlock);
638 void JIT::patchMethodCallProto(CodeBlock* codeBlock, MethodCallLinkInfo& methodCallLinkInfo, JSFunction* callee, Structure* structure, JSObject* proto, ReturnAddressPtr returnAddress)
640 RepatchBuffer repatchBuffer(codeBlock);
659 void JIT::patchPutByIdReplace(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress)
661 RepatchBuffer repatchBuffer(codeBlock);
    [all...]
JITInlineMethods.h 297 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock)
300 storePtr(ImmPtr(codeBlock), X86Registers::ecx);
303 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock)
305 storePtr(ImmPtr(codeBlock), m_interpreter->sampler()->codeBlockSlot());
  /external/webkit/JavaScriptCore/assembler/
RepatchBuffer.h 48 RepatchBuffer(CodeBlock* codeBlock)
50 JITCode& code = codeBlock->getJITCode();
  /external/giflib/
dgif_lib.c 645 GifByteType ** CodeBlock) {
657 return DGifGetCodeNext(GifFile, CodeBlock);
667 GifByteType ** CodeBlock) {
678 *CodeBlock = Private->Buf; /* Use private unused buffer. */
679 (*CodeBlock)[0] = Buf; /* Pascal strings notation (pos. 0 is len.). */
680 if (READ(GifFile, &((*CodeBlock)[1]), Buf) != Buf) {
685 *CodeBlock = NULL;
889 GifByteType *CodeBlock;
904 if (DGifGetCodeNext(GifFile, &CodeBlock) == GIF_ERROR)
906 } while (CodeBlock != NULL)
    [all...]
  /external/webkit/JavaScriptCore/
Android.mk 31 bytecode/CodeBlock.cpp \

Completed in 425 milliseconds

1 2