Revision: 9784
Author:   [email protected]
Date:     Wed Oct 26 01:43:33 2011
Log: MIPS: port Replace boolean indications of strict mode by an enum value.

Port r9746 (804e4e4)

BUG=
TEST=

Review URL: http://codereview.chromium.org/8390030
Patch from Paul Lind <[email protected]>.
http://code.google.com/p/v8/source/detail?r=9784

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

=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Oct 26 01:42:15 2011 +++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Oct 26 01:43:33 2011
@@ -1115,7 +1115,7 @@
       !pretenure &&
       scope()->is_function_scope() &&
       info->num_literals() == 0) {
- FastNewClosureStub stub(info->strict_mode() ? kStrictMode : kNonStrictMode);
+    FastNewClosureStub stub(info->strict_mode_flag());
     __ li(a0, Operand(info));
     __ push(a0);
     __ CallStub(&stub);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to