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

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

Issue 9227007: Version 3.8.6 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 11 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 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 V(MulI) \ 128 V(MulI) \
129 V(NumberTagD) \ 129 V(NumberTagD) \
130 V(NumberTagI) \ 130 V(NumberTagI) \
131 V(NumberUntagD) \ 131 V(NumberUntagD) \
132 V(ObjectLiteralFast) \ 132 V(ObjectLiteralFast) \
133 V(ObjectLiteralGeneric) \ 133 V(ObjectLiteralGeneric) \
134 V(OsrEntry) \ 134 V(OsrEntry) \
135 V(OuterContext) \ 135 V(OuterContext) \
136 V(Parameter) \ 136 V(Parameter) \
137 V(Power) \ 137 V(Power) \
138 V(Random) \
138 V(PushArgument) \ 139 V(PushArgument) \
139 V(RegExpLiteral) \ 140 V(RegExpLiteral) \
140 V(Return) \ 141 V(Return) \
141 V(ShiftI) \ 142 V(ShiftI) \
142 V(SmiTag) \ 143 V(SmiTag) \
143 V(SmiUntag) \ 144 V(SmiUntag) \
144 V(StackCheck) \ 145 V(StackCheck) \
145 V(StoreContextSlot) \ 146 V(StoreContextSlot) \
146 V(StoreGlobalCell) \ 147 V(StoreGlobalCell) \
147 V(StoreGlobalGeneric) \ 148 V(StoreGlobalGeneric) \
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 LPower(LOperand* left, LOperand* right) { 1037 LPower(LOperand* left, LOperand* right) {
1037 inputs_[0] = left; 1038 inputs_[0] = left;
1038 inputs_[1] = right; 1039 inputs_[1] = right;
1039 } 1040 }
1040 1041
1041 DECLARE_CONCRETE_INSTRUCTION(Power, "power") 1042 DECLARE_CONCRETE_INSTRUCTION(Power, "power")
1042 DECLARE_HYDROGEN_ACCESSOR(Power) 1043 DECLARE_HYDROGEN_ACCESSOR(Power)
1043 }; 1044 };
1044 1045
1045 1046
1047 class LRandom: public LTemplateInstruction<1, 1, 0> {
1048 public:
1049 explicit LRandom(LOperand* global_object) {
1050 inputs_[0] = global_object;
1051 }
1052
1053 DECLARE_CONCRETE_INSTRUCTION(Random, "random")
1054 DECLARE_HYDROGEN_ACCESSOR(Random)
1055 };
1056
1057
1046 class LArithmeticD: public LTemplateInstruction<1, 2, 0> { 1058 class LArithmeticD: public LTemplateInstruction<1, 2, 0> {
1047 public: 1059 public:
1048 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) 1060 LArithmeticD(Token::Value op, LOperand* left, LOperand* right)
1049 : op_(op) { 1061 : op_(op) {
1050 inputs_[0] = left; 1062 inputs_[0] = left;
1051 inputs_[1] = right; 1063 inputs_[1] = right;
1052 } 1064 }
1053 1065
1054 Token::Value op() const { return op_; } 1066 Token::Value op() const { return op_; }
1055 1067
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1605 class LSmiTag: public LTemplateInstruction<1, 1, 0> { 1617 class LSmiTag: public LTemplateInstruction<1, 1, 0> {
1606 public: 1618 public:
1607 explicit LSmiTag(LOperand* value) { 1619 explicit LSmiTag(LOperand* value) {
1608 inputs_[0] = value; 1620 inputs_[0] = value;
1609 } 1621 }
1610 1622
1611 DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag") 1623 DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag")
1612 }; 1624 };
1613 1625
1614 1626
1615 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> { 1627 class LNumberUntagD: public LTemplateInstruction<1, 1, 1> {
1616 public: 1628 public:
1617 explicit LNumberUntagD(LOperand* value) { 1629 explicit LNumberUntagD(LOperand* value, LOperand* temp) {
1618 inputs_[0] = value; 1630 inputs_[0] = value;
1631 temps_[0] = temp;
1619 } 1632 }
1620 1633
1621 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") 1634 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag")
1622 DECLARE_HYDROGEN_ACCESSOR(Change); 1635 DECLARE_HYDROGEN_ACCESSOR(Change);
1623 }; 1636 };
1624 1637
1625 1638
1626 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 1639 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
1627 public: 1640 public:
1628 LSmiUntag(LOperand* value, bool needs_check) 1641 LSmiUntag(LOperand* value, bool needs_check)
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 2388
2376 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2377 }; 2390 };
2378 2391
2379 #undef DECLARE_HYDROGEN_ACCESSOR 2392 #undef DECLARE_HYDROGEN_ACCESSOR
2380 #undef DECLARE_CONCRETE_INSTRUCTION 2393 #undef DECLARE_CONCRETE_INSTRUCTION
2381 2394
2382 } } // namespace v8::internal 2395 } } // namespace v8::internal
2383 2396
2384 #endif // V8_IA32_LITHIUM_IA32_H_ 2397 #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