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

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

Issue 141653015: Simplify HUnaryMathOperation::Canonicalize. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Feedback Created 6 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 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 2685 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 // Build the sequence for the graph. 2696 // Build the sequence for the graph.
2697 LPlatformChunk* Build(); 2697 LPlatformChunk* Build();
2698 2698
2699 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); 2699 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2700 2700
2701 // Declare methods that deal with the individual node types. 2701 // Declare methods that deal with the individual node types.
2702 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2702 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2703 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2703 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2704 #undef DECLARE_DO 2704 #undef DECLARE_DO
2705 2705
2706 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val);
2707
2708 LInstruction* DoMathFloor(HUnaryMathOperation* instr); 2706 LInstruction* DoMathFloor(HUnaryMathOperation* instr);
2709 LInstruction* DoMathRound(HUnaryMathOperation* instr); 2707 LInstruction* DoMathRound(HUnaryMathOperation* instr);
2710 LInstruction* DoMathAbs(HUnaryMathOperation* instr); 2708 LInstruction* DoMathAbs(HUnaryMathOperation* instr);
2711 LInstruction* DoMathLog(HUnaryMathOperation* instr); 2709 LInstruction* DoMathLog(HUnaryMathOperation* instr);
2712 LInstruction* DoMathExp(HUnaryMathOperation* instr); 2710 LInstruction* DoMathExp(HUnaryMathOperation* instr);
2713 LInstruction* DoMathSqrt(HUnaryMathOperation* instr); 2711 LInstruction* DoMathSqrt(HUnaryMathOperation* instr);
2714 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr); 2712 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr);
2715 2713
2716 private: 2714 private:
2717 enum Status { 2715 enum Status {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2841 2839
2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2843 }; 2841 };
2844 2842
2845 #undef DECLARE_HYDROGEN_ACCESSOR 2843 #undef DECLARE_HYDROGEN_ACCESSOR
2846 #undef DECLARE_CONCRETE_INSTRUCTION 2844 #undef DECLARE_CONCRETE_INSTRUCTION
2847 2845
2848 } } // namespace v8::internal 2846 } } // namespace v8::internal
2849 2847
2850 #endif // V8_IA32_LITHIUM_IA32_H_ 2848 #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