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

Side by Side Diff: src/full-codegen.cc

Issue 624443005: Revert of Extend CPU profiler with mapping ticks to source lines (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/cpu-profiler.cc ('k') | src/profile-generator.h » ('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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 if (position_recorded) { 859 if (position_recorded) {
860 DebugCodegen::GenerateSlot(masm_); 860 DebugCodegen::GenerateSlot(masm_);
861 } 861 }
862 } 862 }
863 } 863 }
864 864
865 865
866 void FullCodeGenerator::SetSourcePosition(int pos) { 866 void FullCodeGenerator::SetSourcePosition(int pos) {
867 if (pos != RelocInfo::kNoPosition) { 867 if (pos != RelocInfo::kNoPosition) {
868 masm_->positions_recorder()->RecordPosition(pos); 868 masm_->positions_recorder()->RecordPosition(pos);
869 masm_->positions_recorder()->WriteRecordedPositions();
870 } 869 }
871 } 870 }
872 871
873 872
874 // Lookup table for code generators for special runtime calls which are 873 // Lookup table for code generators for special runtime calls which are
875 // generated inline. 874 // generated inline.
876 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ 875 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \
877 &FullCodeGenerator::Emit##Name, 876 &FullCodeGenerator::Emit##Name,
878 877
879 const FullCodeGenerator::InlineFunctionGenerator 878 const FullCodeGenerator::InlineFunctionGenerator
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 } 1710 }
1712 return true; 1711 return true;
1713 } 1712 }
1714 #endif // DEBUG 1713 #endif // DEBUG
1715 1714
1716 1715
1717 #undef __ 1716 #undef __
1718 1717
1719 1718
1720 } } // namespace v8::internal 1719 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/cpu-profiler.cc ('k') | src/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698