Changeset 50537 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Nov 4, 2009, 6:22:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.h
r48836 r50537 439 439 void addConstantRegister(const Register& r) { return m_constantRegisters.append(r); } 440 440 Register& constantRegister(int index) { return m_constantRegisters[index - FirstConstantRegisterIndex]; } 441 ALWAYS_INLINE bool isConstantRegisterIndex(int index) { return index >= FirstConstantRegisterIndex; }441 ALWAYS_INLINE bool isConstantRegisterIndex(int index) const { return index >= FirstConstantRegisterIndex; } 442 442 ALWAYS_INLINE JSValue getConstant(int index) const { return m_constantRegisters[index - FirstConstantRegisterIndex].jsValue(); } 443 443 … … 483 483 #if !defined(NDEBUG) || ENABLE(OPCODE_SAMPLING) 484 484 void dump(ExecState*, const Vector<Instruction>::const_iterator& begin, Vector<Instruction>::const_iterator&) const; 485 486 CString registerName(ExecState*, int r) const; 487 void printUnaryOp(ExecState*, int location, Vector<Instruction>::const_iterator&, const char* op) const; 488 void printBinaryOp(ExecState*, int location, Vector<Instruction>::const_iterator&, const char* op) const; 489 void printConditionalJump(ExecState*, const Vector<Instruction>::const_iterator&, Vector<Instruction>::const_iterator&, int location, const char* op) const; 490 void printGetByIdOp(ExecState*, int location, Vector<Instruction>::const_iterator&, const char* op) const; 491 void printPutByIdOp(ExecState*, int location, Vector<Instruction>::const_iterator&, const char* op) const; 485 492 #endif 486 493
Note:
See TracChangeset
for help on using the changeset viewer.