Changeset 128832 in webkit for trunk/Source/JavaScriptCore/runtime/SymbolTable.h
- Timestamp:
- Sep 17, 2012, 6:15:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/SymbolTable.h
r128813 r128832 41 41 class WatchpointSet; 42 42 43 struct SlowArgument { 44 enum Status { 45 Normal = 0, 46 Captured = 1, 47 Deleted = 2 48 }; 49 50 SlowArgument() 51 : status(Normal) 52 , indexIfCaptured(0) 53 { 54 } 55 56 Status status; 57 int indexIfCaptured; // If status is 'Captured', indexIfCaptured is our index in the CallFrame. 58 }; 59 43 60 static ALWAYS_INLINE int missingSymbolMarker() { return std::numeric_limits<int>::max(); } 44 61 … … 360 377 void setCaptureEnd(int captureEnd) { m_captureEnd = captureEnd; } 361 378 379 int parameterCount() { return m_parameterCountIncludingThis - 1; } 362 380 int parameterCountIncludingThis() { return m_parameterCountIncludingThis; } 363 381 void setParameterCountIncludingThis(int parameterCountIncludingThis) { m_parameterCountIncludingThis = parameterCountIncludingThis; } 382 383 // 0 if we don't capture any arguments; parameterCount() in length if we do. 384 const SlowArgument* slowArguments() { return m_slowArguments.get(); } 385 void setSlowArguments(PassOwnArrayPtr<SlowArgument> slowArguments) { m_slowArguments = slowArguments; } 364 386 365 387 static JS_EXPORTDATA const ClassInfo s_info; … … 382 404 int m_captureStart; 383 405 int m_captureEnd; 406 407 OwnArrayPtr<SlowArgument> m_slowArguments; 384 408 }; 385 409 386 410 HAS_IMMORTAL_STRUCTURE(SharedSymbolTable); 387 411 388 412 } // namespace JSC 389 413
Note:
See TracChangeset
for help on using the changeset viewer.