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

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: With all ports done 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 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 bool has_constant_parameter_count() { 1437 bool has_constant_parameter_count() {
1438 return parameter_count()->IsConstantOperand(); 1438 return parameter_count()->IsConstantOperand();
1439 } 1439 }
1440 LConstantOperand* constant_parameter_count() { 1440 LConstantOperand* constant_parameter_count() {
1441 ASSERT(has_constant_parameter_count()); 1441 ASSERT(has_constant_parameter_count());
1442 return LConstantOperand::cast(parameter_count()); 1442 return LConstantOperand::cast(parameter_count());
1443 } 1443 }
1444 LOperand* parameter_count() { return inputs_[1]; } 1444 LOperand* parameter_count() { return inputs_[1]; }
1445 1445
1446 DECLARE_CONCRETE_INSTRUCTION(Return, "return") 1446 DECLARE_CONCRETE_INSTRUCTION(Return, "return")
1447 DECLARE_HYDROGEN_ACCESSOR(Return)
1447 }; 1448 };
1448 1449
1449 1450
1450 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> { 1451 class LLoadNamedField: public LTemplateInstruction<1, 1, 0> {
1451 public: 1452 public:
1452 explicit LLoadNamedField(LOperand* object) { 1453 explicit LLoadNamedField(LOperand* object) {
1453 inputs_[0] = object; 1454 inputs_[0] = object;
1454 } 1455 }
1455 1456
1456 LOperand* object() { return inputs_[0]; } 1457 LOperand* object() { return inputs_[0]; }
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2737 2738
2738 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2739 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2739 }; 2740 };
2740 2741
2741 #undef DECLARE_HYDROGEN_ACCESSOR 2742 #undef DECLARE_HYDROGEN_ACCESSOR
2742 #undef DECLARE_CONCRETE_INSTRUCTION 2743 #undef DECLARE_CONCRETE_INSTRUCTION
2743 2744
2744 } } // namespace v8::int 2745 } } // namespace v8::int
2745 2746
2746 #endif // V8_X64_LITHIUM_X64_H_ 2747 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698