| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index ad036871802b32b0ad9646e480fd43339444ce0f..5b1dd61795753d711be28a5a7b2392e5c043467e 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -111,7 +111,6 @@ class LChunkBuilder;
|
| V(DummyUse) \
|
| V(ElementsKind) \
|
| V(EnterInlined) \
|
| - V(FastLiteral) \
|
| V(FixedArrayBaseLength) \
|
| V(ForceRepresentation) \
|
| V(FunctionLiteral) \
|
| @@ -4955,7 +4954,6 @@ inline bool ReceiverObjectNeedsWriteBarrier(HValue* object,
|
| new_space_dominator);
|
| }
|
| if (object != new_space_dominator) return true;
|
| - if (object->IsFastLiteral()) return false;
|
| if (object->IsAllocateObject()) return false;
|
| if (object->IsAllocate()) {
|
| return !HAllocate::cast(object)->GuaranteedInNewSpace();
|
| @@ -5966,45 +5964,6 @@ class HMaterializedLiteral: public HTemplateInstruction<V> {
|
| };
|
|
|
|
|
| -class HFastLiteral: public HMaterializedLiteral<1> {
|
| - public:
|
| - HFastLiteral(HValue* context,
|
| - Handle<JSObject> boilerplate,
|
| - int total_size,
|
| - int literal_index,
|
| - int depth,
|
| - AllocationSiteMode mode)
|
| - : HMaterializedLiteral<1>(literal_index, depth, mode),
|
| - boilerplate_(boilerplate),
|
| - total_size_(total_size) {
|
| - SetOperandAt(0, context);
|
| - SetGVNFlag(kChangesNewSpacePromotion);
|
| - }
|
| -
|
| - // Maximum depth and total number of elements and properties for literal
|
| - // graphs to be considered for fast deep-copying.
|
| - static const int kMaxLiteralDepth = 3;
|
| - static const int kMaxLiteralProperties = 8;
|
| -
|
| - HValue* context() { return OperandAt(0); }
|
| - Handle<JSObject> boilerplate() const { return boilerplate_; }
|
| - int total_size() const { return total_size_; }
|
| - virtual Representation RequiredInputRepresentation(int index) {
|
| - return Representation::Tagged();
|
| - }
|
| - virtual Handle<Map> GetMonomorphicJSObjectMap() {
|
| - return Handle<Map>(boilerplate()->map());
|
| - }
|
| - virtual HType CalculateInferredType();
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(FastLiteral)
|
| -
|
| - private:
|
| - Handle<JSObject> boilerplate_;
|
| - int total_size_;
|
| -};
|
| -
|
| -
|
| class HArrayLiteral: public HMaterializedLiteral<1> {
|
| public:
|
| HArrayLiteral(HValue* context,
|
| @@ -6192,7 +6151,7 @@ class HToFastProperties: public HUnaryOperation {
|
| // This instruction is not marked as having side effects, but
|
| // changes the map of the input operand. Use it only when creating
|
| // object literals.
|
| - ASSERT(value->IsObjectLiteral() || value->IsFastLiteral());
|
| + ASSERT(value->IsObjectLiteral());
|
| set_representation(Representation::Tagged());
|
| }
|
|
|
|
|