[webkit-changes] [WebKit/WebKit] 42ab3c: Revert [261125 at main] [JSC] Stop eagerly emitting w...

Chris Dumez noreply at github.com
Sat Mar 4 14:02:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42ab3c79e0cde0ef6dc5de5854d534d9c09587d7
      https://github.com/WebKit/WebKit/commit/42ab3c79e0cde0ef6dc5de5854d534d9c09587d7
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-04 (Sat, 04 Mar 2023)

  Changed paths:
    M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
    M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h
    M Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp

  Log Message:
  -----------
  Revert [261125 at main] [JSC] Stop eagerly emitting wide32 opcodes
https://bugs.webkit.org/show_bug.cgi?id=252891
rdar://105876002

Unreviewed, revert 261125 at main as it caused a 4% Speedometer regression.

* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitWideJumpIfNotFunctionHasOwnProperty):
(JSC::BytecodeGenerator::recordHasOwnPropertyInForInLoop):
(JSC::BytecodeGenerator::emitInByVal):
(JSC::BytecodeGenerator::emitGetByVal):
(JSC::rewriteOp):
(JSC::ForInContext::finalize):
(JSC::BytecodeGenerator::emitJumpIfNotFunctionHasOwnProperty): Deleted.
* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:
(JSC::ForInContext::addGetInst):
(JSC::ForInContext::addInInst):
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::HasOwnPropertyFunctionCallDotNode::emitBytecode):

Canonical link: https://commits.webkit.org/261229@main




More information about the webkit-changes mailing list