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

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

Issue 6201004: ARM: Implement ClassOf in the lithium arm backend. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | « no previous file | src/arm/lithium-arm.cc » ('j') | src/arm/lithium-codegen-arm.cc » ('J')
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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 : LUnaryOperation(value), temporary_(temp) {} 852 : LUnaryOperation(value), temporary_(temp) {}
853 853
854 DECLARE_CONCRETE_INSTRUCTION(ClassOfTest, "class-of-test") 854 DECLARE_CONCRETE_INSTRUCTION(ClassOfTest, "class-of-test")
855 DECLARE_HYDROGEN_ACCESSOR(ClassOfTest) 855 DECLARE_HYDROGEN_ACCESSOR(ClassOfTest)
856 856
857 virtual void PrintDataTo(StringStream* stream) const; 857 virtual void PrintDataTo(StringStream* stream) const;
858 858
859 LOperand* temporary() { return temporary_; } 859 LOperand* temporary() { return temporary_; }
860 860
861 private: 861 private:
862 LOperand *temporary_; 862 LOperand* temporary_;
863 }; 863 };
864 864
865 865
866 class LClassOfTestAndBranch: public LClassOfTest { 866 class LClassOfTestAndBranch: public LClassOfTest {
867 public: 867 public:
868 LClassOfTestAndBranch(LOperand* value, 868 LClassOfTestAndBranch(LOperand* value,
869 LOperand* temporary, 869 LOperand* temporary,
870 LOperand* temporary2, 870 LOperand* temporary2,
871 int true_block_id, 871 int true_block_id,
872 int false_block_id) 872 int false_block_id)
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2053 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2053 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2054 }; 2054 };
2055 2055
2056 #undef DECLARE_HYDROGEN_ACCESSOR 2056 #undef DECLARE_HYDROGEN_ACCESSOR
2057 #undef DECLARE_INSTRUCTION 2057 #undef DECLARE_INSTRUCTION
2058 #undef DECLARE_CONCRETE_INSTRUCTION 2058 #undef DECLARE_CONCRETE_INSTRUCTION
2059 2059
2060 } } // namespace v8::internal 2060 } } // namespace v8::internal
2061 2061
2062 #endif // V8_ARM_LITHIUM_ARM_H_ 2062 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/arm/lithium-codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698