| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index a8da5f6afa2c06e664933c211afd9f22f032945f..4e35023caec1018813febbc3c0fe9c8045edf8ec 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -167,7 +167,11 @@ class LCodeGen;
|
| V(TypeofIsAndBranch) \
|
| V(UnaryMathOperation) \
|
| V(UnknownOSRValue) \
|
| - V(ValueOf)
|
| + V(ValueOf) \
|
| + V(ForInPrepareMap) \
|
| + V(ForInCacheArray) \
|
| + V(CheckMapValue) \
|
| + V(LoadFieldByIndex)
|
|
|
|
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| @@ -2168,6 +2172,67 @@ class LIn: public LTemplateInstruction<1, 3, 0> {
|
| };
|
|
|
|
|
| +class LForInPrepareMap: public LTemplateInstruction<1, 2, 0> {
|
| + public:
|
| + LForInPrepareMap(LOperand* context, LOperand* object) {
|
| + inputs_[0] = context;
|
| + inputs_[1] = object;
|
| + }
|
| +
|
| + LOperand* context() { return inputs_[0]; }
|
| + LOperand* object() { return inputs_[1]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map")
|
| +};
|
| +
|
| +
|
| +class LForInCacheArray: public LTemplateInstruction<1, 2, 0> {
|
| + public:
|
| + LForInCacheArray(LOperand* object,
|
| + LOperand* keys) {
|
| + inputs_[0] = object;
|
| + inputs_[1] = keys;
|
| + }
|
| +
|
| + LOperand* object() { return inputs_[0]; }
|
| + LOperand* keys() { return inputs_[1]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(ForInCacheArray, "for-in-cache-array")
|
| +
|
| + int idx() {
|
| + return HForInCacheArray::cast(this->hydrogen_value())->idx();
|
| + }
|
| +};
|
| +
|
| +
|
| +class LCheckMapValue: public LTemplateInstruction<1, 2, 0> {
|
| + public:
|
| + LCheckMapValue(LOperand* value, LOperand* map) {
|
| + inputs_[0] = value;
|
| + inputs_[1] = map;
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| + LOperand* map() { return inputs_[1]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(CheckMapValue, "check-map-value")
|
| +};
|
| +
|
| +
|
| +class LLoadFieldByIndex: public LTemplateInstruction<1, 2, 0> {
|
| + public:
|
| + LLoadFieldByIndex(LOperand* object, LOperand* index) {
|
| + inputs_[0] = object;
|
| + inputs_[1] = index;
|
| + }
|
| +
|
| + LOperand* object() { return inputs_[0]; }
|
| + LOperand* index() { return inputs_[1]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index")
|
| +};
|
| +
|
| +
|
| class LChunkBuilder;
|
| class LChunk: public ZoneObject {
|
| public:
|
|
|