Title: [242674] trunk/Source/_javascript_Core
- Revision
- 242674
- Author
- [email protected]
- Date
- 2019-03-09 09:29:35 -0800 (Sat, 09 Mar 2019)
Log Message
Compilation can be shrunk by 8 bytes
https://bugs.webkit.org/show_bug.cgi?id=195500
Reviewed by Mark Lam.
* profiler/ProfilerCompilation.cpp:
(JSC::Profiler::Compilation::Compilation):
* profiler/ProfilerCompilation.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (242673 => 242674)
--- trunk/Source/_javascript_Core/ChangeLog 2019-03-09 17:25:11 UTC (rev 242673)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-03-09 17:29:35 UTC (rev 242674)
@@ -1,5 +1,16 @@
2019-03-09 Robin Morisset <[email protected]>
+ Compilation can be shrunk by 8 bytes
+ https://bugs.webkit.org/show_bug.cgi?id=195500
+
+ Reviewed by Mark Lam.
+
+ * profiler/ProfilerCompilation.cpp:
+ (JSC::Profiler::Compilation::Compilation):
+ * profiler/ProfilerCompilation.h:
+
+2019-03-09 Robin Morisset <[email protected]>
+
BinarySwitch can be shrunk by 8 bytes
https://bugs.webkit.org/show_bug.cgi?id=195493
Modified: trunk/Source/_javascript_Core/profiler/ProfilerCompilation.cpp (242673 => 242674)
--- trunk/Source/_javascript_Core/profiler/ProfilerCompilation.cpp 2019-03-09 17:25:11 UTC (rev 242673)
+++ trunk/Source/_javascript_Core/profiler/ProfilerCompilation.cpp 2019-03-09 17:29:35 UTC (rev 242674)
@@ -36,12 +36,12 @@
namespace JSC { namespace Profiler {
Compilation::Compilation(Bytecodes* bytecodes, CompilationKind kind)
- : m_bytecodes(bytecodes)
- , m_kind(kind)
- , m_jettisonReason(NotJettisoned)
+ : m_kind(kind)
+ , m_bytecodes(bytecodes)
, m_numInlinedGetByIds(0)
, m_numInlinedPutByIds(0)
, m_numInlinedCalls(0)
+ , m_jettisonReason(NotJettisoned)
, m_uid(UID::create())
{
}
Modified: trunk/Source/_javascript_Core/profiler/ProfilerCompilation.h (242673 => 242674)
--- trunk/Source/_javascript_Core/profiler/ProfilerCompilation.h 2019-03-09 17:25:11 UTC (rev 242673)
+++ trunk/Source/_javascript_Core/profiler/ProfilerCompilation.h 2019-03-09 17:29:35 UTC (rev 242674)
@@ -81,10 +81,8 @@
JSValue toJS(ExecState*) const;
private:
+ CompilationKind m_kind;
Bytecodes* m_bytecodes;
- CompilationKind m_kind;
- JettisonReason m_jettisonReason;
- CString m_additionalJettisonReason;
Vector<ProfiledBytecodes> m_profiledBytecodes;
Vector<CompiledBytecode> m_descriptions;
HashMap<OriginStack, std::unique_ptr<ExecutionCounter>> m_counters;
@@ -93,6 +91,8 @@
unsigned m_numInlinedGetByIds;
unsigned m_numInlinedPutByIds;
unsigned m_numInlinedCalls;
+ JettisonReason m_jettisonReason;
+ CString m_additionalJettisonReason;
UID m_uid;
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes