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

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

Issue 132373011: A64: Synchronize with r17635. (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/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(ConstantT) \ 84 V(ConstantT) \
85 V(Context) \ 85 V(Context) \
86 V(DateField) \ 86 V(DateField) \
87 V(DebugBreak) \ 87 V(DebugBreak) \
88 V(DeclareGlobals) \ 88 V(DeclareGlobals) \
89 V(Deoptimize) \ 89 V(Deoptimize) \
90 V(DivI) \ 90 V(DivI) \
91 V(DoubleToI) \ 91 V(DoubleToI) \
92 V(DoubleToSmi) \ 92 V(DoubleToSmi) \
93 V(Drop) \ 93 V(Drop) \
94 V(Dummy) \
94 V(DummyUse) \ 95 V(DummyUse) \
95 V(ElementsKind) \ 96 V(ElementsKind) \
96 V(ForInCacheArray) \ 97 V(ForInCacheArray) \
97 V(ForInPrepareMap) \ 98 V(ForInPrepareMap) \
98 V(FunctionLiteral) \ 99 V(FunctionLiteral) \
99 V(GetCachedArrayIndex) \ 100 V(GetCachedArrayIndex) \
100 V(GlobalObject) \ 101 V(GlobalObject) \
101 V(GlobalReceiver) \ 102 V(GlobalReceiver) \
102 V(Goto) \ 103 V(Goto) \
103 V(HasCachedArrayIndexAndBranch) \ 104 V(HasCachedArrayIndexAndBranch) \
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 V(NumberTagU) \ 150 V(NumberTagU) \
150 V(NumberUntagD) \ 151 V(NumberUntagD) \
151 V(OsrEntry) \ 152 V(OsrEntry) \
152 V(OuterContext) \ 153 V(OuterContext) \
153 V(Parameter) \ 154 V(Parameter) \
154 V(Power) \ 155 V(Power) \
155 V(PushArgument) \ 156 V(PushArgument) \
156 V(Random) \ 157 V(Random) \
157 V(RegExpLiteral) \ 158 V(RegExpLiteral) \
158 V(Return) \ 159 V(Return) \
160 V(SeqStringGetChar) \
159 V(SeqStringSetChar) \ 161 V(SeqStringSetChar) \
160 V(ShiftI) \ 162 V(ShiftI) \
161 V(SmiTag) \ 163 V(SmiTag) \
162 V(SmiUntag) \ 164 V(SmiUntag) \
163 V(StackCheck) \ 165 V(StackCheck) \
164 V(StoreCodeEntry) \ 166 V(StoreCodeEntry) \
165 V(StoreContextSlot) \ 167 V(StoreContextSlot) \
166 V(StoreGlobalCell) \ 168 V(StoreGlobalCell) \
167 V(StoreGlobalGeneric) \ 169 V(StoreGlobalGeneric) \
168 V(StoreKeyed) \ 170 V(StoreKeyed) \
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 void set_gap_instructions_size(int gap_instructions_size) { 418 void set_gap_instructions_size(int gap_instructions_size) {
417 gap_instructions_size_ = gap_instructions_size; 419 gap_instructions_size_ = gap_instructions_size;
418 } 420 }
419 int gap_instructions_size() { return gap_instructions_size_; } 421 int gap_instructions_size() { return gap_instructions_size_; }
420 422
421 private: 423 private:
422 int gap_instructions_size_; 424 int gap_instructions_size_;
423 }; 425 };
424 426
425 427
428 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> {
429 public:
430 explicit LDummy() { }
431 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy")
432 };
433
434
426 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { 435 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> {
427 public: 436 public:
428 explicit LDummyUse(LOperand* value) { 437 explicit LDummyUse(LOperand* value) {
429 inputs_[0] = value; 438 inputs_[0] = value;
430 } 439 }
431 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") 440 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
432 }; 441 };
433 442
434 443
435 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { 444 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> {
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 Smi* index() const { return index_; } 1362 Smi* index() const { return index_; }
1354 1363
1355 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") 1364 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field")
1356 DECLARE_HYDROGEN_ACCESSOR(DateField) 1365 DECLARE_HYDROGEN_ACCESSOR(DateField)
1357 1366
1358 private: 1367 private:
1359 Smi* index_; 1368 Smi* index_;
1360 }; 1369 };
1361 1370
1362 1371
1372 class LSeqStringGetChar V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1373 public:
1374 LSeqStringGetChar(LOperand* string, LOperand* index) {
1375 inputs_[0] = string;
1376 inputs_[1] = index;
1377 }
1378
1379 LOperand* string() const { return inputs_[0]; }
1380 LOperand* index() const { return inputs_[1]; }
1381
1382 DECLARE_CONCRETE_INSTRUCTION(SeqStringGetChar, "seq-string-get-char")
1383 DECLARE_HYDROGEN_ACCESSOR(SeqStringGetChar)
1384 };
1385
1386
1363 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { 1387 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> {
1364 public: 1388 public:
1365 LSeqStringSetChar(LOperand* string, 1389 LSeqStringSetChar(LOperand* string,
1366 LOperand* index, 1390 LOperand* index,
1367 LOperand* value) { 1391 LOperand* value) {
1368 inputs_[0] = string; 1392 inputs_[0] = string;
1369 inputs_[1] = index; 1393 inputs_[1] = index;
1370 inputs_[2] = value; 1394 inputs_[2] = value;
1371 } 1395 }
1372 1396
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
2895 2919
2896 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2920 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2897 }; 2921 };
2898 2922
2899 #undef DECLARE_HYDROGEN_ACCESSOR 2923 #undef DECLARE_HYDROGEN_ACCESSOR
2900 #undef DECLARE_CONCRETE_INSTRUCTION 2924 #undef DECLARE_CONCRETE_INSTRUCTION
2901 2925
2902 } } // namespace v8::internal 2926 } } // namespace v8::internal
2903 2927
2904 #endif // V8_ARM_LITHIUM_ARM_H_ 2928 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698