Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index b875b941a32ae5a4895c8c9f38b4cef983d6e38f..f793e6e5d9efb0001967f3a2833d933259ec347c 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -676,11 +676,7 @@ |
// Check right parameter. |
STRING_ADD_CHECK_RIGHT = 1 << 1, |
// Check both parameters. |
- STRING_ADD_CHECK_BOTH = STRING_ADD_CHECK_LEFT | STRING_ADD_CHECK_RIGHT, |
- // Convert parameters when check fails (instead of throwing an exception). |
- STRING_ADD_CONVERT = 1 << 2, |
- STRING_ADD_CONVERT_LEFT = STRING_ADD_CHECK_LEFT | STRING_ADD_CONVERT, |
- STRING_ADD_CONVERT_RIGHT = STRING_ADD_CHECK_RIGHT | STRING_ADD_CONVERT |
+ STRING_ADD_CHECK_BOTH = STRING_ADD_CHECK_LEFT | STRING_ADD_CHECK_RIGHT |
}; |
@@ -705,8 +701,8 @@ |
} |
private: |
- class StringAddFlagsBits : public BitField<StringAddFlags, 0, 3> {}; |
- class PretenureFlagBits : public BitField<PretenureFlag, 3, 1> {}; |
+ class StringAddFlagsBits : public BitField<StringAddFlags, 0, 2> {}; |
+ class PretenureFlagBits : public BitField<PretenureFlag, 2, 1> {}; |
void PrintBaseName(std::ostream& os) const override; // NOLINT |
@@ -1651,8 +1647,8 @@ |
static const int kRight = 1; |
private: |
- class StringAddFlagsBits : public BitField<StringAddFlags, 0, 3> {}; |
- class PretenureFlagBits : public BitField<PretenureFlag, 3, 1> {}; |
+ class StringAddFlagsBits: public BitField<StringAddFlags, 0, 2> {}; |
+ class PretenureFlagBits: public BitField<PretenureFlag, 2, 1> {}; |
void PrintBaseName(std::ostream& os) const override; // NOLINT |