Added
Link Here
|
1 |
Index: src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h |
2 |
--- src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h.orig |
3 |
+++ src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h |
4 |
@@ -135,9 +135,11 @@ namespace JSC { |
5 |
static CallFrame* noCaller() { return reinterpret_cast<CallFrame*>(HostCallFrameFlag); } |
6 |
int returnValueRegister() const { return this[RegisterFile::ReturnValueRegister].i(); } |
7 |
|
8 |
+#pragma clang optimize off |
9 |
bool hasHostCallFrameFlag() const { return reinterpret_cast<intptr_t>(this) & HostCallFrameFlag; } |
10 |
CallFrame* addHostCallFrameFlag() const { return reinterpret_cast<CallFrame*>(reinterpret_cast<intptr_t>(this) | HostCallFrameFlag); } |
11 |
CallFrame* removeHostCallFrameFlag() { return reinterpret_cast<CallFrame*>(reinterpret_cast<intptr_t>(this) & ~HostCallFrameFlag); } |
12 |
+#pragma clang optimize on |
13 |
|
14 |
private: |
15 |
void setArgumentCount(int count) { static_cast<Register*>(this)[RegisterFile::ArgumentCount] = Register::withInt(count); } |