| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 1dc9304aed709e7d52a56ddbb46510f107150ab4..6a74ec8b35ac649302914da2d9b6a4c5ec8af4e4 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) \
|
| @@ -4973,7 +4972,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();
|
| @@ -5988,45 +5986,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,
|
| @@ -6214,7 +6173,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());
|
| }
|
|
|
|
|