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

Side by Side Diff: src/objects.h

Issue 297303006: Some more debugger-related refactorings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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
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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "assert-scope.h" 9 #include "assert-scope.h"
10 #include "builtins.h" 10 #include "builtins.h"
(...skipping 10867 matching lines...) Expand 10 before | Expand all | Expand 10 after
10878 10878
10879 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize; 10879 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize;
10880 static const int kOriginalCodeIndex = kSharedFunctionInfoIndex + kPointerSize; 10880 static const int kOriginalCodeIndex = kSharedFunctionInfoIndex + kPointerSize;
10881 static const int kPatchedCodeIndex = kOriginalCodeIndex + kPointerSize; 10881 static const int kPatchedCodeIndex = kOriginalCodeIndex + kPointerSize;
10882 static const int kActiveBreakPointsCountIndex = 10882 static const int kActiveBreakPointsCountIndex =
10883 kPatchedCodeIndex + kPointerSize; 10883 kPatchedCodeIndex + kPointerSize;
10884 static const int kBreakPointsStateIndex = 10884 static const int kBreakPointsStateIndex =
10885 kActiveBreakPointsCountIndex + kPointerSize; 10885 kActiveBreakPointsCountIndex + kPointerSize;
10886 static const int kSize = kBreakPointsStateIndex + kPointerSize; 10886 static const int kSize = kBreakPointsStateIndex + kPointerSize;
10887 10887
10888 static const int kEstimatedNofBreakPointsInFunction = 16;
10889
10888 private: 10890 private:
10889 static const int kNoBreakPointInfo = -1; 10891 static const int kNoBreakPointInfo = -1;
10890 10892
10891 // Lookup the index in the break_points array for a code position. 10893 // Lookup the index in the break_points array for a code position.
10892 int GetBreakPointInfoIndex(int code_position); 10894 int GetBreakPointInfoIndex(int code_position);
10893 10895
10894 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugInfo); 10896 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugInfo);
10895 }; 10897 };
10896 10898
10897 10899
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
11070 } else { 11072 } else {
11071 value &= ~(1 << bit_position); 11073 value &= ~(1 << bit_position);
11072 } 11074 }
11073 return value; 11075 return value;
11074 } 11076 }
11075 }; 11077 };
11076 11078
11077 } } // namespace v8::internal 11079 } } // namespace v8::internal
11078 11080
11079 #endif // V8_OBJECTS_H_ 11081 #endif // V8_OBJECTS_H_
OLDNEW
« src/debug.cc ('K') | « src/liveedit.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698