| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 00ca024979eb24feec61f212892923fd0ce42dba..54faafd4af92ca89979d2adf5431b6fa1cde2983 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -149,6 +149,7 @@ class LCodeGen;
|
| V(StoreNamedGeneric) \
|
| V(StorePixelArrayElement) \
|
| V(StringCharCodeAt) \
|
| + V(StringCharFromCode) \
|
| V(StringLength) \
|
| V(SubI) \
|
| V(TaggedToI) \
|
| @@ -1635,6 +1636,19 @@ class LStringCharCodeAt: public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| +class LStringCharFromCode: public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LStringCharFromCode(LOperand* char_code) {
|
| + inputs_[0] = char_code;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(StringCharFromCode, "string-char-from-code")
|
| + DECLARE_HYDROGEN_ACCESSOR(StringCharFromCode)
|
| +
|
| + LOperand* char_code() { return inputs_[0]; }
|
| +};
|
| +
|
| +
|
| class LStringLength: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LStringLength(LOperand* string) {
|
|
|