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

Side by Side Diff: src/arm64/lithium-arm64.h

Issue 214613004: Only assign environments when they are actually needed. (ARM and ARM64 only) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 6 years, 8 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/arm/lithium-arm.cc ('k') | src/arm64/lithium-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 LOperand* value() { return inputs_[0]; } 920 LOperand* value() { return inputs_[0]; }
921 LOperand* temp() { return temps_[0]; } 921 LOperand* temp() { return temps_[0]; }
922 922
923 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 923 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
924 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 924 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
925 }; 925 };
926 926
927 927
928 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 1> { 928 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 1> {
929 public: 929 public:
930 explicit LCheckMaps(LOperand* value, LOperand* temp = NULL) { 930 explicit LCheckMaps(LOperand* value, LOperand* temp) {
931 inputs_[0] = value; 931 inputs_[0] = value;
932 temps_[0] = temp; 932 temps_[0] = temp;
933 } 933 }
934 934
935 LOperand* value() { return inputs_[0]; } 935 LOperand* value() { return inputs_[0]; }
936 LOperand* temp() { return temps_[0]; } 936 LOperand* temp() { return temps_[0]; }
937 937
938 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") 938 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
939 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) 939 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
940 }; 940 };
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after
3091 3091
3092 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3092 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3093 }; 3093 };
3094 3094
3095 #undef DECLARE_HYDROGEN_ACCESSOR 3095 #undef DECLARE_HYDROGEN_ACCESSOR
3096 #undef DECLARE_CONCRETE_INSTRUCTION 3096 #undef DECLARE_CONCRETE_INSTRUCTION
3097 3097
3098 } } // namespace v8::internal 3098 } } // namespace v8::internal
3099 3099
3100 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3100 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698