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

Side by Side Diff: src/deoptimizer.h

Issue 1264483008: [deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reuse ComputeOutgoingArgumentSize() Created 5 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
« no previous file with comments | « no previous file | src/deoptimizer.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEOPTIMIZER_H_ 5 #ifndef V8_DEOPTIMIZER_H_
6 #define V8_DEOPTIMIZER_H_ 6 #define V8_DEOPTIMIZER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 unsigned output_offset, 609 unsigned output_offset,
610 const char* debug_hint_string); 610 const char* debug_hint_string);
611 void DebugPrintOutputSlot(intptr_t value, int frame_index, 611 void DebugPrintOutputSlot(intptr_t value, int frame_index,
612 unsigned output_offset, 612 unsigned output_offset,
613 const char* debug_hint_string); 613 const char* debug_hint_string);
614 614
615 unsigned ComputeInputFrameSize() const; 615 unsigned ComputeInputFrameSize() const;
616 unsigned ComputeFixedSize(JSFunction* function) const; 616 unsigned ComputeFixedSize(JSFunction* function) const;
617 617
618 unsigned ComputeIncomingArgumentSize(JSFunction* function) const; 618 unsigned ComputeIncomingArgumentSize(JSFunction* function) const;
619 unsigned ComputeOutgoingArgumentSize() const; 619 static unsigned ComputeOutgoingArgumentSize(Code* code, unsigned bailout_id);
620 620
621 Object* ComputeLiteral(int index) const; 621 Object* ComputeLiteral(int index) const;
622 622
623 static void GenerateDeoptimizationEntries( 623 static void GenerateDeoptimizationEntries(
624 MacroAssembler* masm, int count, BailoutType type); 624 MacroAssembler* masm, int count, BailoutType type);
625 625
626 // Marks all the code in the given context for deoptimization. 626 // Marks all the code in the given context for deoptimization.
627 static void MarkAllCodeForContext(Context* native_context); 627 static void MarkAllCodeForContext(Context* native_context);
628 628
629 // Visit all the known optimized functions in a given context. 629 // Visit all the known optimized functions in a given context.
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 Object** expression_stack_; 1139 Object** expression_stack_;
1140 int source_position_; 1140 int source_position_;
1141 1141
1142 friend class Deoptimizer; 1142 friend class Deoptimizer;
1143 }; 1143 };
1144 1144
1145 } // namespace internal 1145 } // namespace internal
1146 } // namespace v8 1146 } // namespace v8
1147 1147
1148 #endif // V8_DEOPTIMIZER_H_ 1148 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « no previous file | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698