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

Side by Side Diff: src/ia32/lithium-ia32.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 2845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2856 // support GC and lazy deoptimization. Assigns an environment to support 2856 // support GC and lazy deoptimization. Assigns an environment to support
2857 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. 2857 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
2858 LInstruction* MarkAsCall( 2858 LInstruction* MarkAsCall(
2859 LInstruction* instr, 2859 LInstruction* instr,
2860 HInstruction* hinstr, 2860 HInstruction* hinstr,
2861 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); 2861 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY);
2862 2862
2863 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env, 2863 LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env,
2864 int* argument_index_accumulator, 2864 int* argument_index_accumulator,
2865 ZoneList<HValue*>* objects_to_materialize); 2865 ZoneList<HValue*>* objects_to_materialize);
2866 void AddObjectToMaterialize(HValue* value,
2867 ZoneList<HValue*>* objects_to_materialize,
2868 LEnvironment* result);
2866 2869
2867 void VisitInstruction(HInstruction* current); 2870 void VisitInstruction(HInstruction* current);
2868 2871
2869 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); 2872 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2870 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); 2873 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr);
2871 LInstruction* DoArithmeticD(Token::Value op, 2874 LInstruction* DoArithmeticD(Token::Value op,
2872 HArithmeticBinaryOperation* instr); 2875 HArithmeticBinaryOperation* instr);
2873 LInstruction* DoArithmeticT(Token::Value op, 2876 LInstruction* DoArithmeticT(Token::Value op,
2874 HBinaryOperation* instr); 2877 HBinaryOperation* instr);
2875 2878
(...skipping 14 matching lines...) Expand all
2890 2893
2891 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2894 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2892 }; 2895 };
2893 2896
2894 #undef DECLARE_HYDROGEN_ACCESSOR 2897 #undef DECLARE_HYDROGEN_ACCESSOR
2895 #undef DECLARE_CONCRETE_INSTRUCTION 2898 #undef DECLARE_CONCRETE_INSTRUCTION
2896 2899
2897 } } // namespace v8::internal 2900 } } // namespace v8::internal
2898 2901
2899 #endif // V8_IA32_LITHIUM_IA32_H_ 2902 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | src/ia32/lithium-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698