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

Side by Side Diff: src/deoptimizer.h

Issue 1187533002: Fix debug printing of inputs in the deoptimizer, pull out printing into separate methods. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Another tweak Created 5 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
« 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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, 639 void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator,
640 int frame_index); 640 int frame_index);
641 void DoComputeConstructStubFrame(TranslationIterator* iterator, 641 void DoComputeConstructStubFrame(TranslationIterator* iterator,
642 int frame_index); 642 int frame_index);
643 void DoComputeAccessorStubFrame(TranslationIterator* iterator, 643 void DoComputeAccessorStubFrame(TranslationIterator* iterator,
644 int frame_index, 644 int frame_index,
645 bool is_setter_stub_frame); 645 bool is_setter_stub_frame);
646 void DoComputeCompiledStubFrame(TranslationIterator* iterator, 646 void DoComputeCompiledStubFrame(TranslationIterator* iterator,
647 int frame_index); 647 int frame_index);
648 648
649 void WriteValueToOutput(TranslatedFrame::iterator* iterator, int* input_index, 649 void WriteTranslatedValueToOutput(
650 int frame_index, unsigned output_offset, 650 TranslatedFrame::iterator* iterator, int* input_index, int frame_index,
651 Address output_address_for_materialization = nullptr); 651 unsigned output_offset, const char* debug_hint_string = nullptr,
652 Address output_address_for_materialization = nullptr);
653 void WriteValueToOutput(Object* value, int input_index, int frame_index,
654 unsigned output_offset,
655 const char* debug_hint_string);
656 void DebugPrintOutputSlot(intptr_t value, int frame_index,
657 unsigned output_offset,
658 const char* debug_hint_string);
652 659
653 unsigned ComputeInputFrameSize() const; 660 unsigned ComputeInputFrameSize() const;
654 unsigned ComputeFixedSize(JSFunction* function) const; 661 unsigned ComputeFixedSize(JSFunction* function) const;
655 662
656 unsigned ComputeIncomingArgumentSize(JSFunction* function) const; 663 unsigned ComputeIncomingArgumentSize(JSFunction* function) const;
657 unsigned ComputeOutgoingArgumentSize() const; 664 unsigned ComputeOutgoingArgumentSize() const;
658 665
659 Object* ComputeLiteral(int index) const; 666 Object* ComputeLiteral(int index) const;
660 667
661 static void GenerateDeoptimizationEntries( 668 static void GenerateDeoptimizationEntries(
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 Object** expression_stack_; 1188 Object** expression_stack_;
1182 int source_position_; 1189 int source_position_;
1183 1190
1184 friend class Deoptimizer; 1191 friend class Deoptimizer;
1185 }; 1192 };
1186 1193
1187 } // namespace internal 1194 } // namespace internal
1188 } // namespace v8 1195 } // namespace v8
1189 1196
1190 #endif // V8_DEOPTIMIZER_H_ 1197 #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