| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index e832be5671bb3b76853177c3971d0ebdcd0a9d66..9a07c6f2a15da905358bd07d88b514ba9cd53684 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -151,6 +151,7 @@ class LCodeGen;
|
| V(StoreNamedGeneric) \
|
| V(StorePixelArrayElement) \
|
| V(StringCharCodeAt) \
|
| + V(StringCharFromCode) \
|
| V(StringLength) \
|
| V(SubI) \
|
| V(TaggedToI) \
|
| @@ -1715,6 +1716,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) {
|
|
|