mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
Bug 1091793 - Remove MNop for AsmJS like testing code. r=jandem
CLOSED TREE
This commit is contained in:
parent
1c013f94e5
commit
16eb447ced
@ -142,9 +142,6 @@ BEGIN_TEST(testJitNotTest)
|
||||
MTest *test = MTest::New(func.alloc, not0, then, else_);
|
||||
block->end(test);
|
||||
|
||||
MNop *anchor = MNop::New(func.alloc);
|
||||
anchor->setGuard();
|
||||
then->add(anchor);
|
||||
then->end(MGoto::New(func.alloc, exit));
|
||||
|
||||
else_->end(MGoto::New(func.alloc, exit));
|
||||
@ -184,9 +181,6 @@ BEGIN_TEST(testJitNotNotTest)
|
||||
MTest *test = MTest::New(func.alloc, not1, then, else_);
|
||||
block->end(test);
|
||||
|
||||
MNop *anchor = MNop::New(func.alloc);
|
||||
anchor->setGuard();
|
||||
then->add(anchor);
|
||||
then->end(MGoto::New(func.alloc, exit));
|
||||
|
||||
else_->end(MGoto::New(func.alloc, exit));
|
||||
|
@ -61,9 +61,6 @@ BEGIN_TEST(testJitGVN_FixupOSROnlyLoop)
|
||||
innerHeader->add(yBeta);
|
||||
innerHeader->end(MTest::New(func.alloc, yBeta, innerBackedge, outerBackedge));
|
||||
|
||||
MNop *anchor = MNop::New(func.alloc);
|
||||
anchor->setGuard();
|
||||
innerBackedge->add(anchor);
|
||||
innerBackedge->end(MGoto::New(func.alloc, innerHeader));
|
||||
outerBackedge->end(MGoto::New(func.alloc, outerHeader));
|
||||
|
||||
@ -155,9 +152,6 @@ BEGIN_TEST(testJitGVN_FixupOSROnlyLoopNested)
|
||||
innerHeader->add(wBeta);
|
||||
innerHeader->end(MTest::New(func.alloc, wBeta, innerBackedge, middleBackedge));
|
||||
|
||||
MNop *anchor = MNop::New(func.alloc);
|
||||
anchor->setGuard();
|
||||
innerBackedge->add(anchor);
|
||||
innerBackedge->end(MGoto::New(func.alloc, innerHeader));
|
||||
middleBackedge->end(MGoto::New(func.alloc, middleHeader));
|
||||
outerBackedge->end(MGoto::New(func.alloc, outerHeader));
|
||||
|
Loading…
Reference in New Issue
Block a user