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

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: Minor cleanup. 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
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 2905 matching lines...) Expand 10 before | Expand all | Expand 10 after
2916 2916
2917 // Marks a call for the register allocator. Assigns a pointer map to 2917 // Marks a call for the register allocator. Assigns a pointer map to
2918 // support GC and lazy deoptimization. Assigns an environment to support 2918 // support GC and lazy deoptimization. Assigns an environment to support
2919 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. 2919 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
2920 LInstruction* MarkAsCall( 2920 LInstruction* MarkAsCall(
2921 LInstruction* instr, 2921 LInstruction* instr,
2922 HInstruction* hinstr, 2922 HInstruction* hinstr,
2923 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2923 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2924 2924
2925 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2925 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2926 int* argument_index_accumulator); 2926 int* argument_index_accumulator,
2927 ZoneList<HValue*>* objects_to_materialize);
2927 2928
2928 void VisitInstruction(HInstruction* current); 2929 void VisitInstruction(HInstruction* current);
2929 2930
2930 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2931 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2931 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2932 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2932 LInstruction* DoArithmeticD(Token::Value op, 2933 LInstruction* DoArithmeticD(Token::Value op,
2933 HArithmeticBinaryOperation* instr); 2934 HArithmeticBinaryOperation* instr);
2934 LInstruction* DoArithmeticT(Token::Value op, 2935 LInstruction* DoArithmeticT(Token::Value op,
2935 HArithmeticBinaryOperation* instr); 2936 HArithmeticBinaryOperation* instr);
2936 2937
(...skipping 15 matching lines...) Expand all
2952 2953
2953 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2954 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2954 }; 2955 };
2955 2956
2956 #undef DECLARE_HYDROGEN_ACCESSOR 2957 #undef DECLARE_HYDROGEN_ACCESSOR
2957 #undef DECLARE_CONCRETE_INSTRUCTION 2958 #undef DECLARE_CONCRETE_INSTRUCTION
2958 2959
2959 } } // namespace v8::internal 2960 } } // namespace v8::internal
2960 2961
2961 #endif // V8_IA32_LITHIUM_IA32_H_ 2962 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698