Revision: 18361
Author:   [email protected]
Date:     Wed Dec 18 17:56:30 2013 UTC
Log:      MIPS: Enable optimization of functions with generic switches.

Port r18347 (64ac25c)

Fix of r18351

BUG=
[email protected]

Review URL: https://codereview.chromium.org/94103007

Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=18361

Modified:
 /branches/bleeding_edge/src/mips/full-codegen-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Dec 18 15:31:41 2013 UTC +++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Dec 18 17:56:30 2013 UTC
@@ -1040,12 +1040,12 @@
     patch_site.EmitPatchInfo();

     Label skip;
-    __ b(&skip);
+    __ Branch(&skip);
     PrepareForBailout(clause, TOS_REG);
     __ LoadRoot(at, Heap::kTrueValueRootIndex);
     __ Branch(&next_test, ne, v0, Operand(at));
     __ Drop(1);
-    __ jmp(clause->body_target());
+    __ Branch(clause->body_target());
     __ bind(&skip);

     __ Branch(&next_test, ne, v0, Operand(zero_reg));

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to