Revision: 17885
Author:   [email protected]
Date:     Tue Nov 19 16:06:11 2013 UTC
Log:      MIPS: Remove unused StubType's, freeing 2 bits in Code objects.

Port r17867 (a305bd3)

BUG=
[email protected]

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

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

Modified:
 /branches/bleeding_edge/src/mips/stub-cache-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Tue Nov 19 02:26:42 2013 UTC +++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Tue Nov 19 16:06:11 2013 UTC
@@ -1637,7 +1637,7 @@
   GenerateMissBranch();

   // Return the generated code.
-  return GetCode(Code::FIELD, name);
+  return GetCode(Code::FAST, name);
 }


@@ -2691,7 +2691,7 @@
     Handle<Code> code = CompileCustomCall(object, holder,
                                           Handle<Cell>::null(),
function, Handle<String>::cast(name),
-                                          Code::CONSTANT);
+                                          Code::FAST);
     // A null handle means bail out to the regular compiler code below.
     if (!code.is_null()) return code;
   }
@@ -2740,7 +2740,7 @@
   GenerateMissBranch();

   // Return the generated code.
-  return GetCode(Code::INTERCEPTOR, name);
+  return GetCode(Code::FAST, name);
 }


@@ -2828,7 +2828,7 @@
   __ TailCallExternalReference(store_callback_property, 4, 1);

   // Return the generated code.
-  return GetCode(kind(), Code::CALLBACKS, name);
+  return GetCode(kind(), Code::FAST, name);
 }


@@ -2844,7 +2844,7 @@
       masm(), call_optimization, receiver(), scratch3(), 1, values);

   // Return the generated code.
-  return GetCode(kind(), Code::CALLBACKS, name);
+  return GetCode(kind(), Code::FAST, name);
 }


@@ -2928,7 +2928,7 @@
   TailCallBuiltin(masm(), MissBuiltin(kind()));

   // Return the generated code.
-  return GetCode(kind(), Code::INTERCEPTOR, name);
+  return GetCode(kind(), Code::FAST, name);
 }


@@ -2944,7 +2944,7 @@
   __ Ret();

   // Return the generated code.
-  return GetCode(kind(), Code::NONEXISTENT, name);
+  return GetCode(kind(), Code::FAST, name);
 }


--
--
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