Title: [251459] trunk/Source/_javascript_Core
Revision
251459
Author
[email protected]
Date
2019-10-22 14:28:42 -0700 (Tue, 22 Oct 2019)

Log Message

Unreviewed, make 32bit JIT built
https://bugs.webkit.org/show_bug.cgi?id=202392

This patch makes 32bit JIT built at least.

* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_throw):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emitGetByValWithCachedId):
(JSC::JIT::emitSlow_op_get_by_id_direct):
(JSC::JIT::emitSlow_op_get_by_id):
(JSC::JIT::emitSlow_op_get_by_id_with_this):
(JSC::JIT::emitSlow_op_get_from_scope):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (251458 => 251459)


--- trunk/Source/_javascript_Core/ChangeLog	2019-10-22 21:28:35 UTC (rev 251458)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-10-22 21:28:42 UTC (rev 251459)
@@ -1,5 +1,21 @@
 2019-10-22  Yusuke Suzuki  <[email protected]>
 
+        Unreviewed, make 32bit JIT built
+        https://bugs.webkit.org/show_bug.cgi?id=202392
+
+        This patch makes 32bit JIT built at least.
+
+        * jit/JITOpcodes32_64.cpp:
+        (JSC::JIT::emit_op_throw):
+        * jit/JITPropertyAccess32_64.cpp:
+        (JSC::JIT::emitGetByValWithCachedId):
+        (JSC::JIT::emitSlow_op_get_by_id_direct):
+        (JSC::JIT::emitSlow_op_get_by_id):
+        (JSC::JIT::emitSlow_op_get_by_id_with_this):
+        (JSC::JIT::emitSlow_op_get_from_scope):
+
+2019-10-22  Yusuke Suzuki  <[email protected]>
+
         [JSC] Remove non-LargeAllocation restriction for JSCallee
         https://bugs.webkit.org/show_bug.cgi?id=203260
 

Modified: trunk/Source/_javascript_Core/jit/JITOpcodes32_64.cpp (251458 => 251459)


--- trunk/Source/_javascript_Core/jit/JITOpcodes32_64.cpp	2019-10-22 21:28:35 UTC (rev 251458)
+++ trunk/Source/_javascript_Core/jit/JITOpcodes32_64.cpp	2019-10-22 21:28:42 UTC (rev 251459)
@@ -817,7 +817,7 @@
     ASSERT(regT0 == returnValueGPR);
     copyCalleeSavesToEntryFrameCalleeSavesBuffer(vm().topEntryFrame);
     emitLoad(bytecode.m_value.offset(), regT1, regT0);
-    callOperationNoExceptionCheck(operationThrow, JSValueRegs(regT1, regT0));
+    callOperationNoExceptionCheck(operationThrow, m_codeBlock->globalObject(), JSValueRegs(regT1, regT0));
     jumpToExceptionHandler(vm());
 }
 

Modified: trunk/Source/_javascript_Core/jit/JITPropertyAccess32_64.cpp (251458 => 251459)


--- trunk/Source/_javascript_Core/jit/JITPropertyAccess32_64.cpp	2019-10-22 21:28:35 UTC (rev 251458)
+++ trunk/Source/_javascript_Core/jit/JITPropertyAccess32_64.cpp	2019-10-22 21:28:42 UTC (rev 251459)
@@ -216,7 +216,7 @@
     Label coldPathBegin = label();
     gen.slowPathJump().link(this);
 
-    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdOptimize, dst, gen.stubInfo(), JSValueRegs(regT1, regT0), propertyName.impl());
+    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdOptimize, dst, m_codeBlock->globalObject(), gen.stubInfo(), JSValueRegs(regT1, regT0), propertyName.impl());
     gen.reportSlowPathCall(coldPathBegin, call);
     slowDoneCase = jump();
 
@@ -562,7 +562,7 @@
 
     Label coldPathBegin = label();
 
-    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdDirectOptimize, resultVReg, gen.stubInfo(), JSValueRegs(regT1, regT0), ident->impl());
+    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdDirectOptimize, resultVReg, m_codeBlock->globalObject(), gen.stubInfo(), JSValueRegs(regT1, regT0), ident->impl());
 
     gen.reportSlowPathCall(coldPathBegin, call);
 }
@@ -608,7 +608,7 @@
     
     Label coldPathBegin = label();
     
-    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdOptimize, resultVReg, gen.stubInfo(), JSValueRegs(regT1, regT0), ident->impl());
+    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdOptimize, resultVReg, m_codeBlock->globalObject(), gen.stubInfo(), JSValueRegs(regT1, regT0), ident->impl());
     
     gen.reportSlowPathCall(coldPathBegin, call);
 }
@@ -649,7 +649,7 @@
     
     Label coldPathBegin = label();
     
-    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdWithThisOptimize, resultVReg, gen.stubInfo(), JSValueRegs(regT1, regT0), JSValueRegs(regT4, regT3), ident->impl());
+    Call call = callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetByIdWithThisOptimize, resultVReg, m_codeBlock->globalObject(), gen.stubInfo(), JSValueRegs(regT1, regT0), JSValueRegs(regT4, regT3), ident->impl());
     
     gen.reportSlowPathCall(coldPathBegin, call);
 }
@@ -1010,7 +1010,7 @@
 
     auto bytecode = currentInstruction->as<OpGetFromScope>();
     int dst = bytecode.m_dst.offset();
-    callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetFromScope, dst, currentInstruction);
+    callOperationWithProfile(bytecode.metadata(m_codeBlock), operationGetFromScope, dst, m_codeBlock->globalObject(), currentInstruction);
 }
 
 void JIT::emitPutGlobalVariable(JSValue* operand, int value, WatchpointSet* set)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to