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

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

Issue 6647012: Fix memory leaks on x64... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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/x64/lithium-codegen-x64.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 Label* is_object); 234 Label* is_object);
235 235
236 // Emits optimized code for %_IsConstructCall(). 236 // Emits optimized code for %_IsConstructCall().
237 // Caller should branch on equal condition. 237 // Caller should branch on equal condition.
238 void EmitIsConstructCall(Register temp); 238 void EmitIsConstructCall(Register temp);
239 239
240 // Emits code for pushing a constant operand. 240 // Emits code for pushing a constant operand.
241 void EmitPushConstantOperand(LOperand* operand); 241 void EmitPushConstantOperand(LOperand* operand);
242 242
243 struct JumpTableEntry { 243 struct JumpTableEntry {
244 inline JumpTableEntry(Address address) 244 inline JumpTableEntry(Address address)
Lasse Reichstein 2011/03/09 09:57:07 Whoops, we forgot the "explicit" here. I'm surpris
245 : label_(), 245 : label_(),
246 address_(address) { } 246 address_(address) { }
247 Label label_; 247 Label label_;
248 Address address_; 248 Address address_;
249 }; 249 };
250 250
251 LChunk* const chunk_; 251 LChunk* const chunk_;
252 MacroAssembler* const masm_; 252 MacroAssembler* const masm_;
253 CompilationInfo* const info_; 253 CompilationInfo* const info_;
254 254
255 int current_block_; 255 int current_block_;
256 int current_instruction_; 256 int current_instruction_;
257 const ZoneList<LInstruction*>* instructions_; 257 const ZoneList<LInstruction*>* instructions_;
258 ZoneList<LEnvironment*> deoptimizations_; 258 ZoneList<LEnvironment*> deoptimizations_;
259 ZoneList<JumpTableEntry*> jump_table_; 259 ZoneList<JumpTableEntry> jump_table_;
260 ZoneList<Handle<Object> > deoptimization_literals_; 260 ZoneList<Handle<Object> > deoptimization_literals_;
261 int inlined_function_count_; 261 int inlined_function_count_;
262 Scope* const scope_; 262 Scope* const scope_;
263 Status status_; 263 Status status_;
264 TranslationBuffer translations_; 264 TranslationBuffer translations_;
265 ZoneList<LDeferredCode*> deferred_; 265 ZoneList<LDeferredCode*> deferred_;
266 int osr_pc_offset_; 266 int osr_pc_offset_;
267 267
268 // Builder that keeps track of safepoints in the code. The table 268 // Builder that keeps track of safepoints in the code. The table
269 // itself is emitted at the end of the generated code. 269 // itself is emitted at the end of the generated code.
(...skipping 30 matching lines...) Expand all
300 private: 300 private:
301 LCodeGen* codegen_; 301 LCodeGen* codegen_;
302 Label entry_; 302 Label entry_;
303 Label exit_; 303 Label exit_;
304 Label* external_exit_; 304 Label* external_exit_;
305 }; 305 };
306 306
307 } } // namespace v8::internal 307 } } // namespace v8::internal
308 308
309 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 309 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/lithium-codegen-x64.cc » ('j') | src/x64/lithium-codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698