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

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

Issue 7274025: Slightly improved register assignment for %_IsObject on IA32 and ARM. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 5 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 698
699 DECLARE_CONCRETE_INSTRUCTION(IsNullAndBranch, "is-null-and-branch") 699 DECLARE_CONCRETE_INSTRUCTION(IsNullAndBranch, "is-null-and-branch")
700 DECLARE_HYDROGEN_ACCESSOR(IsNull) 700 DECLARE_HYDROGEN_ACCESSOR(IsNull)
701 701
702 bool is_strict() const { return hydrogen()->is_strict(); } 702 bool is_strict() const { return hydrogen()->is_strict(); }
703 703
704 virtual void PrintDataTo(StringStream* stream); 704 virtual void PrintDataTo(StringStream* stream);
705 }; 705 };
706 706
707 707
708 class LIsObject: public LTemplateInstruction<1, 1, 1> { 708 class LIsObject: public LTemplateInstruction<1, 1, 0> {
709 public: 709 public:
710 explicit LIsObject(LOperand* value) { 710 explicit LIsObject(LOperand* value) {
711 inputs_[0] = value; 711 inputs_[0] = value;
712 } 712 }
713 713
714 DECLARE_CONCRETE_INSTRUCTION(IsObject, "is-object") 714 DECLARE_CONCRETE_INSTRUCTION(IsObject, "is-object")
715 }; 715 };
716 716
717 717
718 class LIsObjectAndBranch: public LControlInstruction<1, 2> { 718 class LIsObjectAndBranch: public LControlInstruction<1, 1> {
719 public: 719 public:
720 LIsObjectAndBranch(LOperand* value, LOperand* temp) { 720 LIsObjectAndBranch(LOperand* value, LOperand* temp) {
721 inputs_[0] = value; 721 inputs_[0] = value;
722 temps_[0] = temp; 722 temps_[0] = temp;
723 } 723 }
724 724
725 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") 725 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
726 726
727 virtual void PrintDataTo(StringStream* stream); 727 virtual void PrintDataTo(StringStream* stream);
728 }; 728 };
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 2305
2306 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2306 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2307 }; 2307 };
2308 2308
2309 #undef DECLARE_HYDROGEN_ACCESSOR 2309 #undef DECLARE_HYDROGEN_ACCESSOR
2310 #undef DECLARE_CONCRETE_INSTRUCTION 2310 #undef DECLARE_CONCRETE_INSTRUCTION
2311 2311
2312 } } // namespace v8::internal 2312 } } // namespace v8::internal
2313 2313
2314 #endif // V8_ARM_LITHIUM_ARM_H_ 2314 #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