Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(906)

Side by Side Diff: src/hydrogen-instructions.h

Issue 24096019: Remove obsolete Runtime_CreateObjectLiteralShallow. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 6725 matching lines...) Expand 10 before | Expand all | Expand 10 after
6736 explicit HToFastProperties(HValue* value) : HUnaryOperation(value) { 6736 explicit HToFastProperties(HValue* value) : HUnaryOperation(value) {
6737 set_representation(Representation::Tagged()); 6737 set_representation(Representation::Tagged());
6738 SetGVNFlag(kChangesNewSpacePromotion); 6738 SetGVNFlag(kChangesNewSpacePromotion);
6739 6739
6740 // This instruction is not marked as kChangesMaps, but does 6740 // This instruction is not marked as kChangesMaps, but does
6741 // change the map of the input operand. Use it only when creating 6741 // change the map of the input operand. Use it only when creating
6742 // object literals via a runtime call. 6742 // object literals via a runtime call.
6743 ASSERT(value->IsCallRuntime()); 6743 ASSERT(value->IsCallRuntime());
6744 #ifdef DEBUG 6744 #ifdef DEBUG
6745 const Runtime::Function* function = HCallRuntime::cast(value)->function(); 6745 const Runtime::Function* function = HCallRuntime::cast(value)->function();
6746 ASSERT(function->function_id == Runtime::kCreateObjectLiteral || 6746 ASSERT(function->function_id == Runtime::kCreateObjectLiteral);
6747 function->function_id == Runtime::kCreateObjectLiteralShallow);
6748 #endif 6747 #endif
6749 } 6748 }
6750 6749
6751 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 6750 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
6752 }; 6751 };
6753 6752
6754 6753
6755 class HValueOf V8_FINAL : public HUnaryOperation { 6754 class HValueOf V8_FINAL : public HUnaryOperation {
6756 public: 6755 public:
6757 explicit HValueOf(HValue* value) : HUnaryOperation(value) { 6756 explicit HValueOf(HValue* value) : HUnaryOperation(value) {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
6959 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 6958 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
6960 }; 6959 };
6961 6960
6962 6961
6963 #undef DECLARE_INSTRUCTION 6962 #undef DECLARE_INSTRUCTION
6964 #undef DECLARE_CONCRETE_INSTRUCTION 6963 #undef DECLARE_CONCRETE_INSTRUCTION
6965 6964
6966 } } // namespace v8::internal 6965 } } // namespace v8::internal
6967 6966
6968 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6967 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698