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

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

Issue 21055011: First implementation of allocation elimination in Hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years, 4 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 2839 matching lines...) Expand 10 before | Expand all | Expand 10 after
2850 2850
2851 // Marks a call for the register allocator. Assigns a pointer map to 2851 // Marks a call for the register allocator. Assigns a pointer map to
2852 // support GC and lazy deoptimization. Assigns an environment to support 2852 // support GC and lazy deoptimization. Assigns an environment to support
2853 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. 2853 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
2854 LInstruction* MarkAsCall( 2854 LInstruction* MarkAsCall(
2855 LInstruction* instr, 2855 LInstruction* instr,
2856 HInstruction* hinstr, 2856 HInstruction* hinstr,
2857 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2857 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2858 2858
2859 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2859 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2860 int* argument_index_accumulator); 2860 int* argument_index_accumulator,
2861 ZoneList<HValue*>* objects_to_materialize);
2861 2862
2862 void VisitInstruction(HInstruction* current); 2863 void VisitInstruction(HInstruction* current);
2863 2864
2864 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2865 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2865 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2866 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2866 LInstruction* DoArithmeticD(Token::Value op, 2867 LInstruction* DoArithmeticD(Token::Value op,
2867 HArithmeticBinaryOperation* instr); 2868 HArithmeticBinaryOperation* instr);
2868 LInstruction* DoArithmeticT(Token::Value op, 2869 LInstruction* DoArithmeticT(Token::Value op,
2869 HArithmeticBinaryOperation* instr); 2870 HArithmeticBinaryOperation* instr);
2870 2871
(...skipping 15 matching lines...) Expand all
2886 2887
2887 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2888 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2888 }; 2889 };
2889 2890
2890 #undef DECLARE_HYDROGEN_ACCESSOR 2891 #undef DECLARE_HYDROGEN_ACCESSOR
2891 #undef DECLARE_CONCRETE_INSTRUCTION 2892 #undef DECLARE_CONCRETE_INSTRUCTION
2892 2893
2893 } } // namespace v8::internal 2894 } } // namespace v8::internal
2894 2895
2895 #endif // V8_IA32_LITHIUM_IA32_H_ 2896 #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