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

Side by Side Diff: src/arm/lithium-arm.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
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/heap.cc » ('J')
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 2766 matching lines...) Expand 10 before | Expand all | Expand 10 after
2777 2777
2778 // By default we assume that instruction sequences generated for calls 2778 // By default we assume that instruction sequences generated for calls
2779 // cannot deoptimize eagerly and we do not attach environment to this 2779 // cannot deoptimize eagerly and we do not attach environment to this
2780 // instruction. 2780 // instruction.
2781 LInstruction* MarkAsCall( 2781 LInstruction* MarkAsCall(
2782 LInstruction* instr, 2782 LInstruction* instr,
2783 HInstruction* hinstr, 2783 HInstruction* hinstr,
2784 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2784 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2785 2785
2786 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2786 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2787 int* argument_index_accumulator); 2787 int* argument_index_accumulator,
2788 ZoneList<HValue*>* objects_to_materialize);
2788 2789
2789 void VisitInstruction(HInstruction* current); 2790 void VisitInstruction(HInstruction* current);
2790 2791
2791 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2792 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2792 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2793 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2793 LInstruction* DoArithmeticD(Token::Value op, 2794 LInstruction* DoArithmeticD(Token::Value op,
2794 HArithmeticBinaryOperation* instr); 2795 HArithmeticBinaryOperation* instr);
2795 LInstruction* DoArithmeticT(Token::Value op, 2796 LInstruction* DoArithmeticT(Token::Value op,
2796 HArithmeticBinaryOperation* instr); 2797 HArithmeticBinaryOperation* instr);
2797 2798
(...skipping 13 matching lines...) Expand all
2811 2812
2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2813 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2813 }; 2814 };
2814 2815
2815 #undef DECLARE_HYDROGEN_ACCESSOR 2816 #undef DECLARE_HYDROGEN_ACCESSOR
2816 #undef DECLARE_CONCRETE_INSTRUCTION 2817 #undef DECLARE_CONCRETE_INSTRUCTION
2817 2818
2818 } } // namespace v8::internal 2819 } } // namespace v8::internal
2819 2820
2820 #endif // V8_ARM_LITHIUM_ARM_H_ 2821 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698