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

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

Issue 209533002: Fix debuggersupport=off build after r17184 and r18149. (Closed) Base URL: http://github.com/v8/v8@master
Patch Set: Created 6 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
« no previous file with comments | « src/d8-debug.h ('k') | no next file » | 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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 // a do while loop. 876 // a do while loop.
877 bool position_recorded = CodeGenerator::RecordPositions( 877 bool position_recorded = CodeGenerator::RecordPositions(
878 masm_, expr->position(), !checker.is_breakable()); 878 masm_, expr->position(), !checker.is_breakable());
879 // If the position recording did record a new position generate a debug 879 // If the position recording did record a new position generate a debug
880 // break slot to make the statement breakable. 880 // break slot to make the statement breakable.
881 if (position_recorded) { 881 if (position_recorded) {
882 Debug::GenerateSlot(masm_); 882 Debug::GenerateSlot(masm_);
883 } 883 }
884 } 884 }
885 #else 885 #else
886 CodeGenerator::RecordPositions(masm_, pos); 886 CodeGenerator::RecordPositions(masm_, expr->position());
887 #endif 887 #endif
888 } 888 }
889 889
890 890
891 void FullCodeGenerator::SetStatementPosition(int pos) { 891 void FullCodeGenerator::SetStatementPosition(int pos) {
892 CodeGenerator::RecordPositions(masm_, pos); 892 CodeGenerator::RecordPositions(masm_, pos);
893 } 893 }
894 894
895 895
896 void FullCodeGenerator::SetSourcePosition(int pos) { 896 void FullCodeGenerator::SetSourcePosition(int pos) {
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
1758 } 1758 }
1759 return true; 1759 return true;
1760 } 1760 }
1761 #endif // DEBUG 1761 #endif // DEBUG
1762 1762
1763 1763
1764 #undef __ 1764 #undef __
1765 1765
1766 1766
1767 } } // namespace v8::internal 1767 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/d8-debug.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698