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

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

Issue 148593004: A64: Synchronize with r18084. (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 | « src/a64/full-codegen-a64.cc ('k') | 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 V(MulI) \ 152 V(MulI) \
153 V(MulS) \ 153 V(MulS) \
154 V(NumberTagD) \ 154 V(NumberTagD) \
155 V(NumberTagU) \ 155 V(NumberTagU) \
156 V(NumberUntagD) \ 156 V(NumberUntagD) \
157 V(OsrEntry) \ 157 V(OsrEntry) \
158 V(OuterContext) \ 158 V(OuterContext) \
159 V(Parameter) \ 159 V(Parameter) \
160 V(Power) \ 160 V(Power) \
161 V(PushArgument) \ 161 V(PushArgument) \
162 V(Random) \
163 V(RegExpLiteral) \ 162 V(RegExpLiteral) \
164 V(Return) \ 163 V(Return) \
165 V(SeqStringGetChar) \ 164 V(SeqStringGetChar) \
166 V(SeqStringSetChar) \ 165 V(SeqStringSetChar) \
167 V(ShiftI) \ 166 V(ShiftI) \
168 V(ShiftS) \ 167 V(ShiftS) \
169 V(SmiTag) \ 168 V(SmiTag) \
170 V(SmiUntag) \ 169 V(SmiUntag) \
171 V(StackCheck) \ 170 V(StackCheck) \
172 V(StoreCodeEntry) \ 171 V(StoreCodeEntry) \
(...skipping 1936 matching lines...) Expand 10 before | Expand all | Expand 10 after
2109 explicit LPushArgument(LOperand* value) { 2108 explicit LPushArgument(LOperand* value) {
2110 inputs_[0] = value; 2109 inputs_[0] = value;
2111 } 2110 }
2112 2111
2113 LOperand* value() { return inputs_[0]; } 2112 LOperand* value() { return inputs_[0]; }
2114 2113
2115 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 2114 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
2116 }; 2115 };
2117 2116
2118 2117
2119 // TODO(all): This will disappear when Math.random is rewritten in JavaScript.
2120 class LRandom V8_FINAL : public LTemplateInstruction<1, 1, 0> {
2121 public:
2122 explicit LRandom(LOperand* global_object) {
2123 inputs_[0] = global_object;
2124 }
2125
2126 LOperand* global_object() { return inputs_[0]; }
2127
2128 DECLARE_CONCRETE_INSTRUCTION(Random, "random")
2129 DECLARE_HYDROGEN_ACCESSOR(Random)
2130 };
2131
2132
2133 class LRegExpLiteral V8_FINAL : public LTemplateInstruction<1, 0, 0> { 2118 class LRegExpLiteral V8_FINAL : public LTemplateInstruction<1, 0, 0> {
2134 public: 2119 public:
2135 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 2120 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
2136 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 2121 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
2137 }; 2122 };
2138 2123
2139 2124
2140 class LReturn V8_FINAL : public LTemplateInstruction<0, 2, 0> { 2125 class LReturn V8_FINAL : public LTemplateInstruction<0, 2, 0> {
2141 public: 2126 public:
2142 LReturn(LOperand* value, LOperand* parameter_count) { 2127 LReturn(LOperand* value, LOperand* parameter_count) {
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
3026 3011
3027 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3012 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3028 }; 3013 };
3029 3014
3030 #undef DECLARE_HYDROGEN_ACCESSOR 3015 #undef DECLARE_HYDROGEN_ACCESSOR
3031 #undef DECLARE_CONCRETE_INSTRUCTION 3016 #undef DECLARE_CONCRETE_INSTRUCTION
3032 3017
3033 } } // namespace v8::internal 3018 } } // namespace v8::internal
3034 3019
3035 #endif // V8_A64_LITHIUM_A64_H_ 3020 #endif // V8_A64_LITHIUM_A64_H_
OLDNEW
« no previous file with comments | « src/a64/full-codegen-a64.cc ('k') | src/a64/lithium-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698