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

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

Issue 12385014: Hydrogen stubs for array constructors (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 7 years, 8 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
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 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 bool has_constant_parameter_count() { 1448 bool has_constant_parameter_count() {
1449 return parameter_count()->IsConstantOperand(); 1449 return parameter_count()->IsConstantOperand();
1450 } 1450 }
1451 LConstantOperand* constant_parameter_count() { 1451 LConstantOperand* constant_parameter_count() {
1452 ASSERT(has_constant_parameter_count()); 1452 ASSERT(has_constant_parameter_count());
1453 return LConstantOperand::cast(parameter_count()); 1453 return LConstantOperand::cast(parameter_count());
1454 } 1454 }
1455 LOperand* parameter_count() { return inputs_[1]; } 1455 LOperand* parameter_count() { return inputs_[1]; }
1456 1456
1457 DECLARE_CONCRETE_INSTRUCTION(Return, "return") 1457 DECLARE_CONCRETE_INSTRUCTION(Return, "return")
1458 DECLARE_HYDROGEN_ACCESSOR(Return)
1458 }; 1459 };
1459 1460
1460 1461
1461 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { 1462 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> {
1462 public: 1463 public:
1463 explicit LLoadNamedField(LOperand* object) { 1464 explicit LLoadNamedField(LOperand* object) {
1464 inputs_[0] = object; 1465 inputs_[0] = object;
1465 } 1466 }
1466 1467
1467 LOperand* object() { return inputs_[0]; } 1468 LOperand* object() { return inputs_[0]; }
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 2750
2750 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2751 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2751 }; 2752 };
2752 2753
2753 #undef DECLARE_HYDROGEN_ACCESSOR 2754 #undef DECLARE_HYDROGEN_ACCESSOR
2754 #undef DECLARE_CONCRETE_INSTRUCTION 2755 #undef DECLARE_CONCRETE_INSTRUCTION
2755 2756
2756 } } // namespace v8::int 2757 } } // namespace v8::int
2757 2758
2758 #endif // V8_X64_LITHIUM_X64_H_ 2759 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« src/code-stubs.h ('K') | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698