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

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

Issue 93803003: Fixed Lithium environment generation bug for captured objects (created (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 2757 matching lines...) Expand 10 before | Expand all | Expand 10 after
2768 // support GC and lazy deoptimization. Assigns an environment to support 2768 // support GC and lazy deoptimization. Assigns an environment to support
2769 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. 2769 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
2770 LInstruction* MarkAsCall( 2770 LInstruction* MarkAsCall(
2771 LInstruction* instr, 2771 LInstruction* instr,
2772 HInstruction* hinstr, 2772 HInstruction* hinstr,
2773 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2773 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2774 2774
2775 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2775 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2776 int* argument_index_accumulator, 2776 int* argument_index_accumulator,
2777 ZoneList<HValue*>* objects_to_materialize); 2777 ZoneList<HValue*>* objects_to_materialize);
2778 void AddObjectToMaterialize(HValue* value,
2779 ZoneList<HValue*>* objects_to_materialize,
2780 LEnvironment* result);
2778 2781
2779 void VisitInstruction(HInstruction* current); 2782 void VisitInstruction(HInstruction* current);
2780 2783
2781 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2784 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2782 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2785 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2783 LInstruction* DoArithmeticD(Token::Value op, 2786 LInstruction* DoArithmeticD(Token::Value op,
2784 HArithmeticBinaryOperation* instr); 2787 HArithmeticBinaryOperation* instr);
2785 LInstruction* DoArithmeticT(Token::Value op, 2788 LInstruction* DoArithmeticT(Token::Value op,
2786 HBinaryOperation* instr); 2789 HBinaryOperation* instr);
2787 2790
(...skipping 12 matching lines...) Expand all
2800 2803
2801 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2804 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2802 }; 2805 };
2803 2806
2804 #undef DECLARE_HYDROGEN_ACCESSOR 2807 #undef DECLARE_HYDROGEN_ACCESSOR
2805 #undef DECLARE_CONCRETE_INSTRUCTION 2808 #undef DECLARE_CONCRETE_INSTRUCTION
2806 2809
2807 } } // namespace v8::int 2810 } } // namespace v8::int
2808 2811
2809 #endif // V8_X64_LITHIUM_X64_H_ 2812 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« src/ia32/lithium-ia32.cc ('K') | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698