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

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: 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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2609 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 2620
2621 // Marks a call for the register allocator. Assigns a pointer map to 2621 // Marks a call for the register allocator. Assigns a pointer map to
2622 // support GC and lazy deoptimization. Assigns an environment to support 2622 // support GC and lazy deoptimization. Assigns an environment to support
2623 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. 2623 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
2624 LInstruction* MarkAsCall( 2624 LInstruction* MarkAsCall(
2625 LInstruction* instr, 2625 LInstruction* instr,
2626 HInstruction* hinstr, 2626 HInstruction* hinstr,
2627 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2627 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2628 2628
2629 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2629 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2630 int* argument_index_accumulator); 2630 int* argument_index_accumulator,
2631 ZoneList<HValue*>* objects_to_materialize);
2631 2632
2632 void VisitInstruction(HInstruction* current); 2633 void VisitInstruction(HInstruction* current);
2633 2634
2634 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2635 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2635 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2636 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2636 LInstruction* DoArithmeticD(Token::Value op, 2637 LInstruction* DoArithmeticD(Token::Value op,
2637 HArithmeticBinaryOperation* instr); 2638 HArithmeticBinaryOperation* instr);
2638 LInstruction* DoArithmeticT(Token::Value op, 2639 LInstruction* DoArithmeticT(Token::Value op,
2639 HArithmeticBinaryOperation* instr); 2640 HArithmeticBinaryOperation* instr);
2640 2641
(...skipping 13 matching lines...) Expand all
2654 2655
2655 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2656 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2656 }; 2657 };
2657 2658
2658 #undef DECLARE_HYDROGEN_ACCESSOR 2659 #undef DECLARE_HYDROGEN_ACCESSOR
2659 #undef DECLARE_CONCRETE_INSTRUCTION 2660 #undef DECLARE_CONCRETE_INSTRUCTION
2660 2661
2661 } } // namespace v8::int 2662 } } // namespace v8::int
2662 2663
2663 #endif // V8_X64_LITHIUM_X64_H_ 2664 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698