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

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

Issue 131103021: Replace HThrow with HCallRuntime. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 V(StoreKeyedGeneric) \ 159 V(StoreKeyedGeneric) \
160 V(StoreNamedField) \ 160 V(StoreNamedField) \
161 V(StoreNamedGeneric) \ 161 V(StoreNamedGeneric) \
162 V(StringAdd) \ 162 V(StringAdd) \
163 V(StringCharCodeAt) \ 163 V(StringCharCodeAt) \
164 V(StringCharFromCode) \ 164 V(StringCharFromCode) \
165 V(StringCompareAndBranch) \ 165 V(StringCompareAndBranch) \
166 V(SubI) \ 166 V(SubI) \
167 V(TaggedToI) \ 167 V(TaggedToI) \
168 V(ThisFunction) \ 168 V(ThisFunction) \
169 V(Throw) \
170 V(ToFastProperties) \ 169 V(ToFastProperties) \
171 V(TransitionElementsKind) \ 170 V(TransitionElementsKind) \
172 V(TrapAllocationMemento) \ 171 V(TrapAllocationMemento) \
173 V(Typeof) \ 172 V(Typeof) \
174 V(TypeofIsAndBranch) \ 173 V(TypeofIsAndBranch) \
175 V(Uint32ToDouble) \ 174 V(Uint32ToDouble) \
176 V(Uint32ToSmi) \ 175 V(Uint32ToSmi) \
177 V(UnknownOSRValue) \ 176 V(UnknownOSRValue) \
178 V(ValueOf) \ 177 V(ValueOf) \
179 V(WrapReceiver) 178 V(WrapReceiver)
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 1350
1352 LOperand* string() { return inputs_[1]; } 1351 LOperand* string() { return inputs_[1]; }
1353 LOperand* index() { return inputs_[2]; } 1352 LOperand* index() { return inputs_[2]; }
1354 LOperand* value() { return inputs_[3]; } 1353 LOperand* value() { return inputs_[3]; }
1355 1354
1356 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") 1355 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
1357 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) 1356 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
1358 }; 1357 };
1359 1358
1360 1359
1361 class LThrow V8_FINAL : public LTemplateInstruction<0, 2, 0> {
1362 public:
1363 LThrow(LOperand* context, LOperand* value) {
1364 inputs_[0] = context;
1365 inputs_[1] = value;
1366 }
1367
1368 LOperand* context() { return inputs_[0]; }
1369 LOperand* value() { return inputs_[1]; }
1370
1371 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
1372 };
1373
1374
1375 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> { 1360 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1376 public: 1361 public:
1377 LAddI(LOperand* left, LOperand* right) { 1362 LAddI(LOperand* left, LOperand* right) {
1378 inputs_[0] = left; 1363 inputs_[0] = left;
1379 inputs_[1] = right; 1364 inputs_[1] = right;
1380 } 1365 }
1381 1366
1382 LOperand* left() { return inputs_[0]; } 1367 LOperand* left() { return inputs_[0]; }
1383 LOperand* right() { return inputs_[1]; } 1368 LOperand* right() { return inputs_[1]; }
1384 1369
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
2740 2725
2741 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2726 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2742 }; 2727 };
2743 2728
2744 #undef DECLARE_HYDROGEN_ACCESSOR 2729 #undef DECLARE_HYDROGEN_ACCESSOR
2745 #undef DECLARE_CONCRETE_INSTRUCTION 2730 #undef DECLARE_CONCRETE_INSTRUCTION
2746 2731
2747 } } // namespace v8::internal 2732 } } // namespace v8::internal
2748 2733
2749 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2734 #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