| Index: src/ia32/codegen-ia32.h
|
| diff --git a/src/ia32/codegen-ia32.h b/src/ia32/codegen-ia32.h
|
| index 296afb9bf19ec26d2da4e546b1cb876ca256571d..843bbf76f750560e40697024679dce0ce64522e1 100644
|
| --- a/src/ia32/codegen-ia32.h
|
| +++ b/src/ia32/codegen-ia32.h
|
| @@ -745,13 +745,6 @@ class GenericBinaryOpStub: public CodeStub {
|
| };
|
|
|
|
|
| -// Flag that indicates how to generate code for the stub StringAddStub.
|
| -enum StringAddFlags {
|
| - NO_STRING_ADD_FLAGS = 0,
|
| - NO_STRING_CHECK_IN_STUB = 1 << 0 // Omit string check in stub.
|
| -};
|
| -
|
| -
|
| class StringStubBase: public CodeStub {
|
| public:
|
| // Generate code for copying characters using a simple loop. This should only
|
| @@ -777,6 +770,13 @@ class StringStubBase: public CodeStub {
|
| };
|
|
|
|
|
| +// Flag that indicates how to generate code for the stub StringAddStub.
|
| +enum StringAddFlags {
|
| + NO_STRING_ADD_FLAGS = 0,
|
| + NO_STRING_CHECK_IN_STUB = 1 << 0 // Omit string check in stub.
|
| +};
|
| +
|
| +
|
| class StringAddStub: public StringStubBase {
|
| public:
|
| explicit StringAddStub(StringAddFlags flags) {
|
|
|