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

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

Issue 21055011: First implementation of allocation elimination in Hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported to x64 and ARM architectures. 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 2673 matching lines...) Expand 10 before | Expand all | Expand 10 after
2684 2684
2685 // Marks a call for the register allocator. Assigns a pointer map to 2685 // Marks a call for the register allocator. Assigns a pointer map to
2686 // support GC and lazy deoptimization. Assigns an environment to support 2686 // support GC and lazy deoptimization. Assigns an environment to support
2687 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. 2687 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
2688 LInstruction* MarkAsCall( 2688 LInstruction* MarkAsCall(
2689 LInstruction* instr, 2689 LInstruction* instr,
2690 HInstruction* hinstr, 2690 HInstruction* hinstr,
2691 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2691 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2692 2692
2693 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2693 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2694 int* argument_index_accumulator); 2694 int* argument_index_accumulator,
2695 ZoneList<HValue*>* objects_to_materialize);
2695 2696
2696 void VisitInstruction(HInstruction* current); 2697 void VisitInstruction(HInstruction* current);
2697 2698
2698 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2699 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2699 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2700 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2700 LInstruction* DoArithmeticD(Token::Value op, 2701 LInstruction* DoArithmeticD(Token::Value op,
2701 HArithmeticBinaryOperation* instr); 2702 HArithmeticBinaryOperation* instr);
2702 LInstruction* DoArithmeticT(Token::Value op, 2703 LInstruction* DoArithmeticT(Token::Value op,
2703 HArithmeticBinaryOperation* instr); 2704 HArithmeticBinaryOperation* instr);
2704 2705
(...skipping 13 matching lines...) Expand all
2718 2719
2719 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2720 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2720 }; 2721 };
2721 2722
2722 #undef DECLARE_HYDROGEN_ACCESSOR 2723 #undef DECLARE_HYDROGEN_ACCESSOR
2723 #undef DECLARE_CONCRETE_INSTRUCTION 2724 #undef DECLARE_CONCRETE_INSTRUCTION
2724 2725
2725 } } // namespace v8::int 2726 } } // namespace v8::int
2726 2727
2727 #endif // V8_X64_LITHIUM_X64_H_ 2728 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698