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

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

Issue 10532066: Reimplement dynamic frame alignment for frames that are compiled via OSR or have more than 2 double… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: don't align frames of recursive functions Created 8 years, 6 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/ia32/frames-ia32.h ('k') | src/ia32/lithium-codegen-ia32.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 current_block_(-1), 54 current_block_(-1),
55 current_instruction_(-1), 55 current_instruction_(-1),
56 instructions_(chunk->instructions()), 56 instructions_(chunk->instructions()),
57 deoptimizations_(4, zone), 57 deoptimizations_(4, zone),
58 deoptimization_literals_(8, zone), 58 deoptimization_literals_(8, zone),
59 inlined_function_count_(0), 59 inlined_function_count_(0),
60 scope_(info->scope()), 60 scope_(info->scope()),
61 status_(UNUSED), 61 status_(UNUSED),
62 translations_(zone), 62 translations_(zone),
63 deferred_(8, zone), 63 deferred_(8, zone),
64 dynamic_frame_alignment_(false),
64 osr_pc_offset_(-1), 65 osr_pc_offset_(-1),
65 last_lazy_deopt_pc_(0), 66 last_lazy_deopt_pc_(0),
66 safepoints_(zone), 67 safepoints_(zone),
67 zone_(zone), 68 zone_(zone),
68 resolver_(this), 69 resolver_(this),
69 expected_safepoint_kind_(Safepoint::kSimple) { 70 expected_safepoint_kind_(Safepoint::kSimple) {
70 PopulateDeoptimizationLiteralsWithInlinedFunctions(); 71 PopulateDeoptimizationLiteralsWithInlinedFunctions();
71 } 72 }
72 73
73 // Simple accessors. 74 // Simple accessors.
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 int current_block_; 336 int current_block_;
336 int current_instruction_; 337 int current_instruction_;
337 const ZoneList<LInstruction*>* instructions_; 338 const ZoneList<LInstruction*>* instructions_;
338 ZoneList<LEnvironment*> deoptimizations_; 339 ZoneList<LEnvironment*> deoptimizations_;
339 ZoneList<Handle<Object> > deoptimization_literals_; 340 ZoneList<Handle<Object> > deoptimization_literals_;
340 int inlined_function_count_; 341 int inlined_function_count_;
341 Scope* const scope_; 342 Scope* const scope_;
342 Status status_; 343 Status status_;
343 TranslationBuffer translations_; 344 TranslationBuffer translations_;
344 ZoneList<LDeferredCode*> deferred_; 345 ZoneList<LDeferredCode*> deferred_;
346 bool dynamic_frame_alignment_;
345 int osr_pc_offset_; 347 int osr_pc_offset_;
346 int last_lazy_deopt_pc_; 348 int last_lazy_deopt_pc_;
347 349
348 // Builder that keeps track of safepoints in the code. The table 350 // Builder that keeps track of safepoints in the code. The table
349 // itself is emitted at the end of the generated code. 351 // itself is emitted at the end of the generated code.
350 SafepointTableBuilder safepoints_; 352 SafepointTableBuilder safepoints_;
351 353
352 Zone* zone_; 354 Zone* zone_;
353 355
354 // Compiler from a set of parallel moves to a sequential list of moves. 356 // Compiler from a set of parallel moves to a sequential list of moves.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 LCodeGen* codegen_; 410 LCodeGen* codegen_;
409 Label entry_; 411 Label entry_;
410 Label exit_; 412 Label exit_;
411 Label* external_exit_; 413 Label* external_exit_;
412 int instruction_index_; 414 int instruction_index_;
413 }; 415 };
414 416
415 } } // namespace v8::internal 417 } } // namespace v8::internal
416 418
417 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 419 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/frames-ia32.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698