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

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

Issue 6526047: Shorten live ranges for arguments to runtime calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 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/lithium.h » ('j') | src/lithium.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 class HLeaveInlined: public HInstruction { 1041 class HLeaveInlined: public HInstruction {
1042 public: 1042 public:
1043 HLeaveInlined() {} 1043 HLeaveInlined() {}
1044 1044
1045 DECLARE_CONCRETE_INSTRUCTION(LeaveInlined, "leave_inlined") 1045 DECLARE_CONCRETE_INSTRUCTION(LeaveInlined, "leave_inlined")
1046 }; 1046 };
1047 1047
1048 1048
1049 class HPushArgument: public HUnaryOperation { 1049 class HPushArgument: public HUnaryOperation {
1050 public: 1050 public:
1051 explicit HPushArgument(HValue* value) : HUnaryOperation(value) { } 1051 explicit HPushArgument(HValue* value) : HUnaryOperation(value) {
1052 set_representation(Representation::Tagged());
1053 }
1052 1054
1053 virtual Representation RequiredInputRepresentation(int index) const { 1055 virtual Representation RequiredInputRepresentation(int index) const {
1054 return Representation::Tagged(); 1056 return Representation::Tagged();
1055 } 1057 }
1056 1058
1057 HValue* argument() const { return OperandAt(0); } 1059 HValue* argument() const { return OperandAt(0); }
1058 1060
1059 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push_argument") 1061 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push_argument")
1060 }; 1062 };
1061 1063
(...skipping 2364 matching lines...) Expand 10 before | Expand all | Expand 10 after
3426 HValue* object() const { return left(); } 3428 HValue* object() const { return left(); }
3427 HValue* key() const { return right(); } 3429 HValue* key() const { return right(); }
3428 }; 3430 };
3429 3431
3430 #undef DECLARE_INSTRUCTION 3432 #undef DECLARE_INSTRUCTION
3431 #undef DECLARE_CONCRETE_INSTRUCTION 3433 #undef DECLARE_CONCRETE_INSTRUCTION
3432 3434
3433 } } // namespace v8::internal 3435 } } // namespace v8::internal
3434 3436
3435 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 3437 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/lithium.h » ('j') | src/lithium.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698