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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 V(StoreNamedField) \ 161 V(StoreNamedField) \
162 V(StoreNamedGeneric) \ 162 V(StoreNamedGeneric) \
163 V(StringAdd) \ 163 V(StringAdd) \
164 V(StringCharCodeAt) \ 164 V(StringCharCodeAt) \
165 V(StringCharFromCode) \ 165 V(StringCharFromCode) \
166 V(StringCompareAndBranch) \ 166 V(StringCompareAndBranch) \
167 V(SubI) \ 167 V(SubI) \
168 V(RSubI) \ 168 V(RSubI) \
169 V(TaggedToI) \ 169 V(TaggedToI) \
170 V(ThisFunction) \ 170 V(ThisFunction) \
171 V(Throw) \
172 V(ToFastProperties) \ 171 V(ToFastProperties) \
173 V(TransitionElementsKind) \ 172 V(TransitionElementsKind) \
174 V(TrapAllocationMemento) \ 173 V(TrapAllocationMemento) \
175 V(Typeof) \ 174 V(Typeof) \
176 V(TypeofIsAndBranch) \ 175 V(TypeofIsAndBranch) \
177 V(Uint32ToDouble) \ 176 V(Uint32ToDouble) \
178 V(Uint32ToSmi) \ 177 V(Uint32ToSmi) \
179 V(UnknownOSRValue) \ 178 V(UnknownOSRValue) \
180 V(ValueOf) \ 179 V(ValueOf) \
181 V(WrapReceiver) 180 V(WrapReceiver)
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 1370
1372 LOperand* string() { return inputs_[1]; } 1371 LOperand* string() { return inputs_[1]; }
1373 LOperand* index() { return inputs_[2]; } 1372 LOperand* index() { return inputs_[2]; }
1374 LOperand* value() { return inputs_[3]; } 1373 LOperand* value() { return inputs_[3]; }
1375 1374
1376 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") 1375 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
1377 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) 1376 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
1378 }; 1377 };
1379 1378
1380 1379
1381 class LThrow V8_FINAL : public LTemplateInstruction<0, 2, 0> {
1382 public:
1383 LThrow(LOperand* context, LOperand* value) {
1384 inputs_[0] = context;
1385 inputs_[1] = value;
1386 }
1387
1388 LOperand* context() { return inputs_[0]; }
1389 LOperand* value() { return inputs_[1]; }
1390
1391 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
1392 };
1393
1394
1395 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> { 1380 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1396 public: 1381 public:
1397 LAddI(LOperand* left, LOperand* right) { 1382 LAddI(LOperand* left, LOperand* right) {
1398 inputs_[0] = left; 1383 inputs_[0] = left;
1399 inputs_[1] = right; 1384 inputs_[1] = right;
1400 } 1385 }
1401 1386
1402 LOperand* left() { return inputs_[0]; } 1387 LOperand* left() { return inputs_[0]; }
1403 LOperand* right() { return inputs_[1]; } 1388 LOperand* right() { return inputs_[1]; }
1404 1389
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2767 2752
2768 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2769 }; 2754 };
2770 2755
2771 #undef DECLARE_HYDROGEN_ACCESSOR 2756 #undef DECLARE_HYDROGEN_ACCESSOR
2772 #undef DECLARE_CONCRETE_INSTRUCTION 2757 #undef DECLARE_CONCRETE_INSTRUCTION
2773 2758
2774 } } // namespace v8::internal 2759 } } // namespace v8::internal
2775 2760
2776 #endif // V8_ARM_LITHIUM_ARM_H_ 2761 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698