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

Side by Side Diff: src/mips/lithium-mips.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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 V(NumberTagU) \ 149 V(NumberTagU) \
149 V(NumberUntagD) \ 150 V(NumberUntagD) \
150 V(OsrEntry) \ 151 V(OsrEntry) \
151 V(OuterContext) \ 152 V(OuterContext) \
152 V(Parameter) \ 153 V(Parameter) \
153 V(Power) \ 154 V(Power) \
154 V(PushArgument) \ 155 V(PushArgument) \
155 V(Random) \ 156 V(Random) \
156 V(RegExpLiteral) \ 157 V(RegExpLiteral) \
157 V(Return) \ 158 V(Return) \
159 V(SeqStringGetChar) \
158 V(SeqStringSetChar) \ 160 V(SeqStringSetChar) \
159 V(ShiftI) \ 161 V(ShiftI) \
160 V(SmiTag) \ 162 V(SmiTag) \
161 V(SmiUntag) \ 163 V(SmiUntag) \
162 V(StackCheck) \ 164 V(StackCheck) \
163 V(StoreCodeEntry) \ 165 V(StoreCodeEntry) \
164 V(StoreContextSlot) \ 166 V(StoreContextSlot) \
165 V(StoreGlobalCell) \ 167 V(StoreGlobalCell) \
166 V(StoreGlobalGeneric) \ 168 V(StoreGlobalGeneric) \
167 V(StoreKeyed) \ 169 V(StoreKeyed) \
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 void set_gap_instructions_size(int gap_instructions_size) { 415 void set_gap_instructions_size(int gap_instructions_size) {
414 gap_instructions_size_ = gap_instructions_size; 416 gap_instructions_size_ = gap_instructions_size;
415 } 417 }
416 int gap_instructions_size() { return gap_instructions_size_; } 418 int gap_instructions_size() { return gap_instructions_size_; }
417 419
418 private: 420 private:
419 int gap_instructions_size_; 421 int gap_instructions_size_;
420 }; 422 };
421 423
422 424
425 class LDummy V8_FINAL : public LTemplateInstruction<1, 0, 0> {
426 public:
427 explicit LDummy() { }
428 DECLARE_CONCRETE_INSTRUCTION(Dummy, "dummy")
429 };
430
431
423 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> { 432 class LDummyUse V8_FINAL : public LTemplateInstruction<1, 1, 0> {
424 public: 433 public:
425 explicit LDummyUse(LOperand* value) { 434 explicit LDummyUse(LOperand* value) {
426 inputs_[0] = value; 435 inputs_[0] = value;
427 } 436 }
428 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use") 437 DECLARE_CONCRETE_INSTRUCTION(DummyUse, "dummy-use")
429 }; 438 };
430 439
431 440
432 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { 441 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> {
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 Smi* index() const { return index_; } 1342 Smi* index() const { return index_; }
1334 1343
1335 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") 1344 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field")
1336 DECLARE_HYDROGEN_ACCESSOR(DateField) 1345 DECLARE_HYDROGEN_ACCESSOR(DateField)
1337 1346
1338 private: 1347 private:
1339 Smi* index_; 1348 Smi* index_;
1340 }; 1349 };
1341 1350
1342 1351
1352 class LSeqStringGetChar V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1353 public:
1354 LSeqStringGetChar(LOperand* string, LOperand* index) {
1355 inputs_[0] = string;
1356 inputs_[1] = index;
1357 }
1358
1359 LOperand* string() const { return inputs_[0]; }
1360 LOperand* index() const { return inputs_[1]; }
1361
1362 DECLARE_CONCRETE_INSTRUCTION(SeqStringGetChar, "seq-string-get-char")
1363 DECLARE_HYDROGEN_ACCESSOR(SeqStringGetChar)
1364 };
1365
1366
1343 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { 1367 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> {
1344 public: 1368 public:
1345 LSeqStringSetChar(String::Encoding encoding, 1369 LSeqStringSetChar(LOperand* string,
1346 LOperand* string,
1347 LOperand* index, 1370 LOperand* index,
1348 LOperand* value) : encoding_(encoding) { 1371 LOperand* value) {
1349 inputs_[0] = string; 1372 inputs_[0] = string;
1350 inputs_[1] = index; 1373 inputs_[1] = index;
1351 inputs_[2] = value; 1374 inputs_[2] = value;
1352 } 1375 }
1353 1376
1354 String::Encoding encoding() { return encoding_; }
1355 LOperand* string() { return inputs_[0]; } 1377 LOperand* string() { return inputs_[0]; }
1356 LOperand* index() { return inputs_[1]; } 1378 LOperand* index() { return inputs_[1]; }
1357 LOperand* value() { return inputs_[2]; } 1379 LOperand* value() { return inputs_[2]; }
1358 1380
1359 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") 1381 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
1360 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) 1382 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
1361
1362 private:
1363 String::Encoding encoding_;
1364 }; 1383 };
1365 1384
1366 1385
1367 class LThrow V8_FINAL : public LTemplateInstruction<0, 2, 0> { 1386 class LThrow V8_FINAL : public LTemplateInstruction<0, 2, 0> {
1368 public: 1387 public:
1369 LThrow(LOperand* context, LOperand* value) { 1388 LThrow(LOperand* context, LOperand* value) {
1370 inputs_[0] = context; 1389 inputs_[0] = context;
1371 inputs_[1] = value; 1390 inputs_[1] = value;
1372 } 1391 }
1373 1392
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
2873 2892
2874 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2875 }; 2894 };
2876 2895
2877 #undef DECLARE_HYDROGEN_ACCESSOR 2896 #undef DECLARE_HYDROGEN_ACCESSOR
2878 #undef DECLARE_CONCRETE_INSTRUCTION 2897 #undef DECLARE_CONCRETE_INSTRUCTION
2879 2898
2880 } } // namespace v8::internal 2899 } } // namespace v8::internal
2881 2900
2882 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2901 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698