Changeset 95310 in webkit for trunk/Source/JavaScriptCore/runtime/Lookup.h
- Timestamp:
- Sep 16, 2011, 11:50:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Lookup.h
r94701 r95310 23 23 24 24 #include "CallFrame.h" 25 #include "DFGIntrinsic.h" 25 26 #include "Identifier.h" 26 27 #include "JSGlobalObject.h" … … 45 46 #if ENABLE(JIT) 46 47 ThunkGenerator generator; 48 #if ENABLE(DFG_JIT) 49 DFG::Intrinsic intrinsic; 50 #endif 47 51 #endif 48 52 }; … … 59 63 #if ENABLE(JIT) 60 64 , ThunkGenerator generator = 0 65 #if ENABLE(DFG_JIT) 66 , DFG::Intrinsic intrinsic = DFG::NoIntrinsic 67 #endif 61 68 #endif 62 69 ) … … 68 75 #if ENABLE(JIT) 69 76 m_u.function.generator = generator; 77 #if ENABLE(DFG_JIT) 78 m_u.function.intrinsic = intrinsic; 79 #endif 70 80 #endif 71 81 m_next = 0; … … 79 89 #if ENABLE(JIT) 80 90 ThunkGenerator generator() const { ASSERT(m_attributes & Function); return m_u.function.generator; } 91 DFG::Intrinsic intrinsic() const 92 { 93 ASSERT(m_attributes & Function); 94 #if ENABLE(DFG_JIT) 95 return m_u.function.intrinsic; 96 #else 97 return DFG::NoIntrinsic; 98 #endif 99 } 81 100 #endif 82 101 NativeFunction function() const { ASSERT(m_attributes & Function); return m_u.function.functionValue; } … … 105 124 #if ENABLE(JIT) 106 125 ThunkGenerator generator; 126 #if ENABLE(DFG_JIT) 127 DFG::Intrinsic intrinsic; 128 #endif 107 129 #endif 108 130 } function;
Note:
See TracChangeset
for help on using the changeset viewer.