Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index ae9f3c4d23e463c92b1fa56de3788f386eb951f7..6eab8d128ee74fdfc11e45a8fbabf5db2bd1d06d 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -144,21 +144,6 @@ class StringHelper : public AllStatic { |
}; |
-// Flag that indicates how to generate code for the stub StringAddStub. |
-enum StringAddFlags { |
- NO_STRING_ADD_FLAGS = 1 << 0, |
- // Omit left string check in stub (left is definitely a string). |
- NO_STRING_CHECK_LEFT_IN_STUB = 1 << 1, |
- // Omit right string check in stub (right is definitely a string). |
- NO_STRING_CHECK_RIGHT_IN_STUB = 1 << 2, |
- // Stub needs a frame before calling the runtime |
- ERECT_FRAME = 1 << 3, |
- // Omit both string checks in stub. |
- NO_STRING_CHECK_IN_STUB = |
- NO_STRING_CHECK_LEFT_IN_STUB | NO_STRING_CHECK_RIGHT_IN_STUB |
-}; |
- |
- |
class StringAddStub: public PlatformCodeStub { |
public: |
explicit StringAddStub(StringAddFlags flags) : flags_(flags) {} |