Changeset 154199 in webkit for trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
- Timestamp:
- Aug 16, 2013, 12:15:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/PutPropertySlot.h
r121925 r154199 38 38 public: 39 39 enum Type { Uncachable, ExistingProperty, NewProperty }; 40 enum Context { UnknownContext, PutById, PutByIdEval }; 40 41 41 PutPropertySlot(bool isStrictMode = false )42 PutPropertySlot(bool isStrictMode = false, Context context = UnknownContext) 42 43 : m_type(Uncachable) 43 44 , m_base(0) 44 45 , m_isStrictMode(isStrictMode) 46 , m_context(context) 45 47 { 46 48 } … … 59 61 m_offset = offset; 60 62 } 63 64 Context context() const { return static_cast<Context>(m_context); } 61 65 62 66 Type type() const { return m_type; } … … 76 80 PropertyOffset m_offset; 77 81 bool m_isStrictMode; 82 uint8_t m_context; 78 83 }; 79 84
Note:
See TracChangeset
for help on using the changeset viewer.