Changeset 163254 in webkit for trunk/Source/JavaScriptCore/profiler
- Timestamp:
- Feb 1, 2014, 6:25:13 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore/profiler
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/profiler/ProfilerCompilation.cpp
r163027 r163254 38 38 : m_bytecodes(bytecodes) 39 39 , m_kind(kind) 40 , m_jettisonReason(NotJettisoned) 40 41 , m_numInlinedGetByIds(0) 41 42 , m_numInlinedPutByIds(0) … … 132 133 result->putDirect(exec->vm(), exec->propertyNames().numInlinedPutByIds, jsNumber(m_numInlinedPutByIds)); 133 134 result->putDirect(exec->vm(), exec->propertyNames().numInlinedCalls, jsNumber(m_numInlinedCalls)); 135 result->putDirect(exec->vm(), exec->propertyNames().jettisonReason, jsString(exec, String::fromUTF8(toCString(m_jettisonReason)))); 134 136 135 137 return result; -
trunk/Source/JavaScriptCore/profiler/ProfilerCompilation.h
r163027 r163254 32 32 #include "ProfilerCompiledBytecode.h" 33 33 #include "ProfilerExecutionCounter.h" 34 #include "ProfilerJettisonReason.h" 34 35 #include "ProfilerOSRExit.h" 35 36 #include "ProfilerOSRExitSite.h" … … 69 70 OSRExit* addOSRExit(unsigned id, const OriginStack&, ExitKind, bool isWatchpoint); 70 71 72 void setJettisonReason(JettisonReason jettisonReason) 73 { 74 m_jettisonReason = jettisonReason; 75 } 76 71 77 JSValue toJS(ExecState*) const; 72 78 … … 74 80 Bytecodes* m_bytecodes; 75 81 CompilationKind m_kind; 82 JettisonReason m_jettisonReason; 76 83 Vector<ProfiledBytecodes> m_profiledBytecodes; 77 84 Vector<CompiledBytecode> m_descriptions;
Note:
See TracChangeset
for help on using the changeset viewer.