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

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

Issue 140633006: A64: Fix constraints for LWrapReceiver (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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 | « no previous file | src/a64/lithium-a64.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 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after
2787 inputs_[1] = index; 2787 inputs_[1] = index;
2788 } 2788 }
2789 2789
2790 LOperand* object() { return inputs_[0]; } 2790 LOperand* object() { return inputs_[0]; }
2791 LOperand* index() { return inputs_[1]; } 2791 LOperand* index() { return inputs_[1]; }
2792 2792
2793 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") 2793 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index")
2794 }; 2794 };
2795 2795
2796 2796
2797 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 1> { 2797 class LWrapReceiver V8_FINAL : public LTemplateInstruction<1, 2, 0> {
2798 public: 2798 public:
2799 LWrapReceiver(LOperand* receiver, LOperand* function, LOperand* temp) { 2799 LWrapReceiver(LOperand* receiver, LOperand* function) {
2800 inputs_[0] = receiver; 2800 inputs_[0] = receiver;
2801 inputs_[1] = function; 2801 inputs_[1] = function;
2802 temps_[0] = temp;
2803 } 2802 }
2804 2803
2805 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") 2804 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver")
2806 2805
2807 LOperand* receiver() { return inputs_[0]; } 2806 LOperand* receiver() { return inputs_[0]; }
2808 LOperand* function() { return inputs_[1]; } 2807 LOperand* function() { return inputs_[1]; }
2809 LOperand* temp() { return temps_[0]; }
2810 }; 2808 };
2811 2809
2812 2810
2813 class LChunkBuilder; 2811 class LChunkBuilder;
2814 class LPlatformChunk V8_FINAL : public LChunk { 2812 class LPlatformChunk V8_FINAL : public LChunk {
2815 public: 2813 public:
2816 LPlatformChunk(CompilationInfo* info, HGraph* graph) 2814 LPlatformChunk(CompilationInfo* info, HGraph* graph)
2817 : LChunk(info, graph) { } 2815 : LChunk(info, graph) { }
2818 2816
2819 int GetNextSpillIndex(); 2817 int GetNextSpillIndex();
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
2976 2974
2977 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2975 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2978 }; 2976 };
2979 2977
2980 #undef DECLARE_HYDROGEN_ACCESSOR 2978 #undef DECLARE_HYDROGEN_ACCESSOR
2981 #undef DECLARE_CONCRETE_INSTRUCTION 2979 #undef DECLARE_CONCRETE_INSTRUCTION
2982 2980
2983 } } // namespace v8::internal 2981 } } // namespace v8::internal
2984 2982
2985 #endif // V8_A64_LITHIUM_A64_H_ 2983 #endif // V8_A64_LITHIUM_A64_H_
OLDNEW
« no previous file with comments | « no previous file | src/a64/lithium-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698