Title: [198831] trunk/Source/_javascript_Core
Revision
198831
Author
[email protected]
Date
2016-03-30 00:14:10 -0700 (Wed, 30 Mar 2016)

Log Message

[JSC] Get rid of operationInitGlobalConst(), it is useless
https://bugs.webkit.org/show_bug.cgi?id=156010

Patch by Benjamin Poulain <[email protected]> on 2016-03-30
Reviewed by Geoffrey Garen.

* jit/JITOperations.cpp:
* jit/JITOperations.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (198830 => 198831)


--- trunk/Source/_javascript_Core/ChangeLog	2016-03-30 06:58:45 UTC (rev 198830)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-03-30 07:14:10 UTC (rev 198831)
@@ -1,3 +1,13 @@
+2016-03-30  Benjamin Poulain  <[email protected]>
+
+        [JSC] Get rid of operationInitGlobalConst(), it is useless
+        https://bugs.webkit.org/show_bug.cgi?id=156010
+
+        Reviewed by Geoffrey Garen.
+
+        * jit/JITOperations.cpp:
+        * jit/JITOperations.h:
+
 2016-03-29  Saam barati  <[email protected]>
 
         Fix typos in our error messages and remove some trailing periods

Modified: trunk/Source/_javascript_Core/jit/JITOperations.cpp (198830 => 198831)


--- trunk/Source/_javascript_Core/jit/JITOperations.cpp	2016-03-30 06:58:45 UTC (rev 198830)
+++ trunk/Source/_javascript_Core/jit/JITOperations.cpp	2016-03-30 07:14:10 UTC (rev 198831)
@@ -2002,15 +2002,6 @@
     vm->heap.writeBarrier(cell);
 }
 
-void JIT_OPERATION operationInitGlobalConst(ExecState* exec, Instruction* pc)
-{
-    VM* vm = &exec->vm();
-    NativeCallFrameTracer tracer(vm, exec);
-
-    JSValue value = exec->r(pc[2].u.operand).jsValue();
-    pc[1].u.variablePointer->set(*vm, exec->codeBlock()->globalObject(), value);
-}
-
 void JIT_OPERATION lookupExceptionHandler(VM* vm, ExecState* exec)
 {
     NativeCallFrameTracer tracer(vm, exec);

Modified: trunk/Source/_javascript_Core/jit/JITOperations.h (198830 => 198831)


--- trunk/Source/_javascript_Core/jit/JITOperations.h	2016-03-30 06:58:45 UTC (rev 198830)
+++ trunk/Source/_javascript_Core/jit/JITOperations.h	2016-03-30 07:14:10 UTC (rev 198831)
@@ -382,8 +382,6 @@
 void JIT_OPERATION operationUnconditionalWriteBarrier(ExecState*, JSCell*);
 void JIT_OPERATION operationOSRWriteBarrier(ExecState*, JSCell*);
 
-void JIT_OPERATION operationInitGlobalConst(ExecState*, Instruction*);
-
 void JIT_OPERATION operationExceptionFuzz(ExecState*);
 
 int32_t JIT_OPERATION operationCheckIfExceptionIsUncatchableAndNotifyProfiler(ExecState*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to