⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 251013 in webkit


Ignore:
Timestamp:
Oct 11, 2019, 11:47:19 AM (7 years ago)
Author:
keith_miller@apple.com
Message:

Wasm B3IRGenerator should use arguments for control data.
​https://bugs.webkit.org/show_bug.cgi?id=202855

Reviewed by Yusuke Suzuki.

JSTests:

  • wasm/stress/loop-more-args-than-results.js: Added.

Source/JavaScriptCore:

This was failing a test on our bots. I'm not sure how I missed
it... I also added another test for good measure.

  • wasm/WasmB3IRGenerator.cpp:

(JSC::Wasm::B3IRGenerator::ControlData::ControlData):

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r250995 r251013  
     12019-10-11  Keith Miller  <keith_miller@apple.com>
     2
     3        Wasm B3IRGenerator should use arguments for control data.
     4        https://bugs.webkit.org/show_bug.cgi?id=202855
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * wasm/stress/loop-more-args-than-results.js: Added.
     9
    1102019-10-10  Mark Lam  <mark.lam@apple.com>
    211
  • trunk/Source/JavaScriptCore/ChangeLog

    r250999 r251013  
     12019-10-11  Keith Miller  <keith_miller@apple.com>
     2
     3        Wasm B3IRGenerator should use arguments for control data.
     4        https://bugs.webkit.org/show_bug.cgi?id=202855
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        This was failing a test on our bots. I'm not sure how I missed
     9        it... I also added another test for good measure.
     10
     11        * wasm/WasmB3IRGenerator.cpp:
     12        (JSC::Wasm::B3IRGenerator::ControlData::ControlData):
     13
    1142019-10-10  Keith Miller  <keith_miller@apple.com>
    215
  • trunk/Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp

    r250559 r251013  
    9898            if (type == BlockType::Loop) {
    9999                for (unsigned i = 0; i < signature->argumentCount(); ++i)
    100                     phis.append(proc.add<Value>(Phi, toB3Type(signature->returnType(i)), origin));
     100                    phis.append(proc.add<Value>(Phi, toB3Type(signature->argument(i)), origin));
    101101            } else {
    102102                for (unsigned i = 0; i < signature->returnCount(); ++i)
Note: See TracChangeset for help on using the changeset viewer.