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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 V(StoreKeyedGeneric) \ 160 V(StoreKeyedGeneric) \
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(TaggedToI) \ 168 V(TaggedToI) \
169 V(ThisFunction) \ 169 V(ThisFunction) \
170 V(Throw) \
171 V(ToFastProperties) \ 170 V(ToFastProperties) \
172 V(TransitionElementsKind) \ 171 V(TransitionElementsKind) \
173 V(TrapAllocationMemento) \ 172 V(TrapAllocationMemento) \
174 V(Typeof) \ 173 V(Typeof) \
175 V(TypeofIsAndBranch) \ 174 V(TypeofIsAndBranch) \
176 V(Uint32ToDouble) \ 175 V(Uint32ToDouble) \
177 V(Uint32ToSmi) \ 176 V(Uint32ToSmi) \
178 V(UnknownOSRValue) \ 177 V(UnknownOSRValue) \
179 V(ValueOf) \ 178 V(ValueOf) \
180 V(WrapReceiver) 179 V(WrapReceiver)
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 1345
1347 LOperand* string() { return inputs_[1]; } 1346 LOperand* string() { return inputs_[1]; }
1348 LOperand* index() { return inputs_[2]; } 1347 LOperand* index() { return inputs_[2]; }
1349 LOperand* value() { return inputs_[3]; } 1348 LOperand* value() { return inputs_[3]; }
1350 1349
1351 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") 1350 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
1352 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) 1351 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
1353 }; 1352 };
1354 1353
1355 1354
1356 class LThrow V8_FINAL : public LTemplateInstruction<0, 2, 0> {
1357 public:
1358 LThrow(LOperand* context, LOperand* value) {
1359 inputs_[0] = context;
1360 inputs_[1] = value;
1361 }
1362
1363 LOperand* context() { return inputs_[0]; }
1364 LOperand* value() { return inputs_[1]; }
1365
1366 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
1367 };
1368
1369
1370 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> { 1355 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1371 public: 1356 public:
1372 LAddI(LOperand* left, LOperand* right) { 1357 LAddI(LOperand* left, LOperand* right) {
1373 inputs_[0] = left; 1358 inputs_[0] = left;
1374 inputs_[1] = right; 1359 inputs_[1] = right;
1375 } 1360 }
1376 1361
1377 LOperand* left() { return inputs_[0]; } 1362 LOperand* left() { return inputs_[0]; }
1378 LOperand* right() { return inputs_[1]; } 1363 LOperand* right() { return inputs_[1]; }
1379 1364
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after
2785 2770
2786 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2771 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2787 }; 2772 };
2788 2773
2789 #undef DECLARE_HYDROGEN_ACCESSOR 2774 #undef DECLARE_HYDROGEN_ACCESSOR
2790 #undef DECLARE_CONCRETE_INSTRUCTION 2775 #undef DECLARE_CONCRETE_INSTRUCTION
2791 2776
2792 } } // namespace v8::internal 2777 } } // namespace v8::internal
2793 2778
2794 #endif // V8_IA32_LITHIUM_IA32_H_ 2779 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698