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

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

Issue 22876009: Improve and simplify removal of unreachable code (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing file Created 7 years, 2 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 2748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 next_block_(NULL), 2759 next_block_(NULL),
2760 argument_count_(0), 2760 argument_count_(0),
2761 allocator_(allocator), 2761 allocator_(allocator),
2762 position_(RelocInfo::kNoPosition), 2762 position_(RelocInfo::kNoPosition),
2763 instruction_pending_deoptimization_environment_(NULL), 2763 instruction_pending_deoptimization_environment_(NULL),
2764 pending_deoptimization_ast_id_(BailoutId::None()) { } 2764 pending_deoptimization_ast_id_(BailoutId::None()) { }
2765 2765
2766 // Build the sequence for the graph. 2766 // Build the sequence for the graph.
2767 LPlatformChunk* Build(); 2767 LPlatformChunk* Build();
2768 2768
2769 LInstruction* CheckElideControlInstruction(HControlInstruction* instr);
2770
2769 // Declare methods that deal with the individual node types. 2771 // Declare methods that deal with the individual node types.
2770 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 2772 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
2771 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2773 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2772 #undef DECLARE_DO 2774 #undef DECLARE_DO
2773 2775
2774 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); 2776 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val);
2775 2777
2776 LInstruction* DoMathFloor(HUnaryMathOperation* instr); 2778 LInstruction* DoMathFloor(HUnaryMathOperation* instr);
2777 LInstruction* DoMathRound(HUnaryMathOperation* instr); 2779 LInstruction* DoMathRound(HUnaryMathOperation* instr);
2778 LInstruction* DoMathAbs(HUnaryMathOperation* instr); 2780 LInstruction* DoMathAbs(HUnaryMathOperation* instr);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
2921 2923
2922 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2924 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2923 }; 2925 };
2924 2926
2925 #undef DECLARE_HYDROGEN_ACCESSOR 2927 #undef DECLARE_HYDROGEN_ACCESSOR
2926 #undef DECLARE_CONCRETE_INSTRUCTION 2928 #undef DECLARE_CONCRETE_INSTRUCTION
2927 2929
2928 } } // namespace v8::internal 2930 } } // namespace v8::internal
2929 2931
2930 #endif // V8_IA32_LITHIUM_IA32_H_ 2932 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698