Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: src/arm/lithium-arm.h

Issue 10824079: Use a special EnumLength field to indicate number of valid enum cache values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed UNREACHABLE from DoForInCacheArray on ARM Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/arm/lithium-arm.h
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
index 782dd617583f688d1885cec813f40d289acd593f..25d902715056bf6205da23efa2ab1094b4294e0c 100644
--- a/src/arm/lithium-arm.h
+++ b/src/arm/lithium-arm.h
@@ -132,6 +132,7 @@ class LCodeGen;
V(LoadNamedField) \
V(LoadNamedFieldPolymorphic) \
V(LoadNamedGeneric) \
+ V(MapEnumLength) \
V(MathFloorOfDiv) \
V(MathMinMax) \
V(ModI) \
@@ -1002,6 +1003,18 @@ class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> {
};
+class LMapEnumLength: public LTemplateInstruction<1, 1, 0> {
+ public:
+ explicit LMapEnumLength(LOperand* value) {
+ inputs_[0] = value;
+ }
+
+ DECLARE_CONCRETE_INSTRUCTION(MapEnumLength,
+ "map-enum-length")
Jakob Kummerow 2012/08/28 12:24:44 nit: fits on one line
Toon Verwaest 2012/08/28 12:30:23 Done.
+ DECLARE_HYDROGEN_ACCESSOR(MapEnumLength)
Jakob Kummerow 2012/08/28 12:24:44 I don't see why you need this (not on ia32 either)
Toon Verwaest 2012/08/28 12:30:23 Done.
+};
+
+
class LElementsKind: public LTemplateInstruction<1, 1, 0> {
public:
explicit LElementsKind(LOperand* value) {

Powered by Google App Engine
This is Rietveld 408576698