Searched refs:RegisterFile (Results 1 - 25 of 35) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/interpreter/
H A DRegisterFile.cpp30 #include "RegisterFile.h"
47 RegisterFile::~RegisterFile()
55 void RegisterFile::gatherConservativeRoots(ConservativeRoots& conservativeRoots)
65 void RegisterFile::releaseExcessCapacity()
73 void RegisterFile::setGlobalObject(JSGlobalObject* globalObject)
78 JSGlobalObject* RegisterFile::globalObject()
83 void RegisterFile::initializeThreading()
88 size_t RegisterFile::committedByteCount()
94 void RegisterFile
[all...]
H A DCallFrameClosure.h45 newCallFrame[arg - RegisterFile::CallFrameHeaderSize - expectedParams] = value;
47 newCallFrame[arg - RegisterFile::CallFrameHeaderSize - expectedParams - providedParams] = value;
54 newCallFrame[i - RegisterFile::CallFrameHeaderSize - expectedParams] = jsUndefined();
H A DCallFrame.h28 #include "RegisterFile.h"
41 JSObject* callee() const { return this[RegisterFile::Callee].function(); }
42 CodeBlock* codeBlock() const { return this[RegisterFile::CodeBlock].Register::codeBlock(); }
45 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain());
46 return this[RegisterFile::ScopeChain].Register::scopeChain();
93 CallFrame* callerFrame() const { return this[RegisterFile::CallerFrame].callFrame(); }
95 ReturnAddressPtr returnPC() const { return ReturnAddressPtr(this[RegisterFile::ReturnPC].vPC()); }
98 Instruction* returnVPC() const { return this[RegisterFile::ReturnPC].vPC(); }
101 void setCallerFrame(CallFrame* callerFrame) { static_cast<Register*>(this)[RegisterFile::CallerFrame] = callerFrame; }
102 void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile
[all...]
H A DCallFrame.cpp46 RegisterFile* CallFrame::registerFile()
H A DRegisterFile.h86 For client simplicity, the RegisterFile measures size and capacity from
92 class RegisterFile { class in namespace:JSC
93 WTF_MAKE_NONCOPYABLE(RegisterFile);
114 RegisterFile(JSGlobalData&, size_t capacity = defaultCapacity, size_t maxGlobals = defaultMaxGlobals);
115 ~RegisterFile();
159 static_cast<RegisterFile*>(context)->setNumGlobals(0);
164 inline RegisterFile::RegisterFile(JSGlobalData& globalData, size_t capacity, size_t maxGlobals) function in class:JSC::RegisterFile
187 inline void RegisterFile::shrink(Register* newEnd)
196 inline bool RegisterFile
[all...]
H A DInterpreter.h37 #include "RegisterFile.h"
74 RegisterFile& registerFile() { return m_registerFile; }
110 NEVER_INLINE JSValue callEval(CallFrame*, RegisterFile*, Register* argv, int argc, int registerOffset);
143 static ALWAYS_INLINE CallFrame* slideRegisterWindowForCall(CodeBlock*, RegisterFile*, CallFrame*, size_t registerOffset, int argc);
147 JSValue privateExecute(ExecutionFlag, RegisterFile*, CallFrame*);
160 RegisterFile m_registerFile;
/external/webkit/Source/JavaScriptCore/runtime/
H A DMemoryStatistics.cpp31 #include "RegisterFile.h"
39 stats.stackBytes = RegisterFile::committedByteCount();
H A DInitializeThreading.cpp61 RegisterFile::initializeThreading();
H A DArguments.h137 argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numParameters;
139 argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numParameters - argc;
142 firstParameterIndex = -RegisterFile::CallFrameHeaderSize - numParameters;
205 Register* argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numArguments - 1;
227 int registerOffset = d->numParameters + RegisterFile::CallFrameHeaderSize;
247 int registerOffset = m_numParametersMinusThis + RegisterFile::CallFrameHeaderSize;
248 size_t registerArraySize = numLocals + RegisterFile::CallFrameHeaderSize;
H A DJSGlobalObject.h49 class RegisterFile;
63 Register m_globalCallFrame[RegisterFile::CallFrameHeaderSize];
234 void copyGlobalsFrom(RegisterFile&);
235 void copyGlobalsTo(RegisterFile&);
/external/webkit/Source/JavaScriptCore/jit/
H A DJITCall32_64.cpp53 emitPutIntToCallFrameHeader(regT1, RegisterFile::ArgumentCount);
54 emitPutCellToCallFrameHeader(regT0, RegisterFile::Callee);
55 emitPutCellToCallFrameHeader(regT3, RegisterFile::ScopeChain);
80 store32(TrustedImm32(JSValue::CellTag), tagFor(RegisterFile::CallerFrame, regT3));
81 storePtr(callFrameRegister, payloadFor(RegisterFile::CallerFrame, regT3));
112 emitGetFromCallFrameHeaderPtr(RegisterFile::ReturnPC, regT2);
113 emitGetFromCallFrameHeaderPtr(RegisterFile::CallerFrame, callFrameRegister);
129 emitGetFromCallFrameHeaderPtr(RegisterFile::ReturnPC, regT2);
130 emitGetFromCallFrameHeaderPtr(RegisterFile::CallerFrame, callFrameRegister);
139 emitGetFromCallFrameHeaderPtr(RegisterFile
[all...]
H A DSpecializedThunkJIT.h46 m_failures.append(branch32(NotEqual, Address(callFrameRegister, RegisterFile::ArgumentCount * (int)sizeof(Register)), TrustedImm32(expectedArgCount + 1)));
90 loadPtr(payloadFor(RegisterFile::CallerFrame, callFrameRegister), callFrameRegister);
104 loadPtr(payloadFor(RegisterFile::CallerFrame, callFrameRegister), callFrameRegister);
113 loadPtr(payloadFor(RegisterFile::CallerFrame, callFrameRegister), callFrameRegister);
122 loadPtr(payloadFor(RegisterFile::CallerFrame, callFrameRegister), callFrameRegister);
136 return -static_cast<int>(RegisterFile::CallFrameHeaderSize + (m_expectedArgCount - argument));
H A DJITCall.cpp53 emitPutIntToCallFrameHeader(regT1, RegisterFile::ArgumentCount);
54 emitPutCellToCallFrameHeader(regT0, RegisterFile::Callee);
55 emitPutCellToCallFrameHeader(regT3, RegisterFile::ScopeChain);
81 intptr_t offset = (intptr_t)sizeof(Register) * (intptr_t)RegisterFile::CallerFrame;
133 storePtr(callFrameRegister, Address(callFrameRegister, (RegisterFile::CallerFrame + registerOffset) * static_cast<int>(sizeof(Register))));
201 // Note that this omits to set up RegisterFile::CodeBlock, which is set in the callee
205 store32(TrustedImm32(Int32Tag), intTagFor(registerOffset + RegisterFile::ArgumentCount));
206 store32(Imm32(argCount), intPayloadFor(registerOffset + RegisterFile::ArgumentCount));
207 storePtr(callFrameRegister, Address(callFrameRegister, (registerOffset + RegisterFile::CallerFrame) * static_cast<int>(sizeof(Register))));
208 storePtr(regT0, Address(callFrameRegister, (registerOffset + RegisterFile
[all...]
H A DJITCode.h39 class RegisterFile;
75 inline JSValue execute(RegisterFile* registerFile, CallFrame* callFrame, JSGlobalData* globalData)
H A DJITOpcodes32_64.cpp76 emitPutToCallFrameHeader(regT3, RegisterFile::ReturnPC);
81 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
89 emitPutToCallFrameHeader(regT3, RegisterFile::ReturnPC);
94 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
111 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
131 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
142 emitGetFromCallFrameHeaderPtr(RegisterFile::ReturnPC, regT1);
143 emitGetFromCallFrameHeaderPtr(RegisterFile::CallerFrame, callFrameRegister);
201 emitPutImmediateToCallFrameHeader(0, RegisterFile::CodeBlock);
206 emitGetFromCallFrameHeaderPtr(RegisterFile
[all...]
H A DJITStubs.h59 class RegisterFile;
98 RegisterFile* registerFile;
134 RegisterFile* registerFile;
162 RegisterFile* registerFile;
190 RegisterFile* registerFile;
222 RegisterFile* registerFile;
245 RegisterFile* registerFile;
276 extern "C" EncodedJSValue ctiTrampoline(void* code, RegisterFile*, CallFrame*, void* /*unused1*/, Profiler**, JSGlobalData*);
H A DJITOpcodes.cpp77 emitPutToCallFrameHeader(regT3, RegisterFile::ReturnPC);
82 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
90 emitPutToCallFrameHeader(regT3, RegisterFile::ReturnPC);
95 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
110 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
130 emitGetFromCallFrameHeader32(RegisterFile::ArgumentCount, regT1);
141 emitGetFromCallFrameHeaderPtr(RegisterFile::ReturnPC, regT1);
142 emitGetFromCallFrameHeaderPtr(RegisterFile::CallerFrame, callFrameRegister);
195 emitPutImmediateToCallFrameHeader(0, RegisterFile::CodeBlock);
200 emitGetFromCallFrameHeaderPtr(RegisterFile
[all...]
H A DJITInlineMethods.h53 ALWAYS_INLINE void JIT::emitPutToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry entry)
58 ALWAYS_INLINE void JIT::emitPutCellToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry entry)
66 ALWAYS_INLINE void JIT::emitPutIntToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry entry)
72 ALWAYS_INLINE void JIT::emitPutImmediateToCallFrameHeader(void* value, RegisterFile::CallFrameHeaderEntry entry)
77 ALWAYS_INLINE void JIT::emitGetFromCallFrameHeaderPtr(RegisterFile::CallFrameHeaderEntry entry, RegisterID to, RegisterID from)
95 ALWAYS_INLINE void JIT::emitGetFromCallFrameHeader32(RegisterFile::CallFrameHeaderEntry entry, RegisterID to, RegisterID from)
H A DJIT.h55 class RegisterFile;
899 void emitPutToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry entry);
900 void emitPutCellToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry);
901 void emitPutIntToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry);
902 void emitPutImmediateToCallFrameHeader(void* value, RegisterFile::CallFrameHeaderEntry entry);
903 void emitGetFromCallFrameHeaderPtr(RegisterFile::CallFrameHeaderEntry entry, RegisterID to, RegisterID from = callFrameRegister);
904 void emitGetFromCallFrameHeader32(RegisterFile::CallFrameHeaderEntry entry, RegisterID to, RegisterID from = callFrameRegister);
H A DJIT.cpp464 emitPutToCallFrameHeader(regT2, RegisterFile::ReturnPC);
481 emitPutImmediateToCallFrameHeader(m_codeBlock, RegisterFile::CodeBlock);
505 emitPutToCallFrameHeader(regT2, RegisterFile::ReturnPC);
/external/webkit/Source/JavaScriptCore/heap/
H A DHeap.h44 class RegisterFile;
123 RegisterFile& registerFile();
/external/webkit/Source/JavaScriptCore/dfg/
H A DDFGJITCompiler.h190 void emitGetFromCallFrameHeaderPtr(RegisterFile::CallFrameHeaderEntry entry, RegisterID to)
194 void emitPutToCallFrameHeader(RegisterID from, RegisterFile::CallFrameHeaderEntry entry)
199 void emitPutImmediateToCallFrameHeader(void* value, RegisterFile::CallFrameHeaderEntry entry)
207 return Address(callFrameRegister, (argument - (m_codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize)) * sizeof(Register));
H A DDFGJITCompiler.cpp234 emitPutToCallFrameHeader(regT2, RegisterFile::ReturnPC);
240 emitPutImmediateToCallFrameHeader(m_codeBlock, RegisterFile::CodeBlock);
242 // Plant a check that sufficient space is available in the RegisterFile.
337 emitPutToCallFrameHeader(regT2, RegisterFile::ReturnPC);
/external/protobuf/src/google/protobuf/
H A Dmessage.cc201 void RegisterFile(const char* file, RegistrationFunc* registration_func);
238 void GeneratedMessageFactory::RegisterFile( function in class:google::protobuf::__anon10106::GeneratedMessageFactory
307 GeneratedMessageFactory::singleton()->RegisterFile(filename,
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DBytecodeGenerator.cpp209 , m_thisRegister(RegisterFile::ProgramCodeThisRegister)
241 RegisterFile* registerFile = &exec->globalData().interpreter->registerFile();
244 m_globalVarStorageOffset = -RegisterFile::CallFrameHeaderSize - m_codeBlock->m_numParameters - registerFile->size();
454 int nextParameterIndex = -RegisterFile::CallFrameHeaderSize - parameterCount - 1;
495 , m_thisRegister(RegisterFile::ProgramCodeThisRegister)
1661 Vector<RefPtr<RegisterID>, RegisterFile::CallFrameHeaderSize> callFrame;
1662 for (int i = 0; i < RegisterFile::CallFrameHeaderSize; ++i)
1700 instructions().append(thisRegister->index() + RegisterFile::CallFrameHeaderSize); // initial registerOffset
1720 instructions().append(thisRegister->index() + RegisterFile::CallFrameHeaderSize); // initial registerOffset
1783 Vector<RefPtr<RegisterID>, RegisterFile
[all...]

Completed in 311 milliseconds

12