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

Side by Side Diff: src/objects.h

Issue 298863011: Merge the classes Debug and Debugger. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rename EnterDebugger 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
« no previous file with comments | « src/mips/debug-mips.cc ('k') | src/objects.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_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 10866 matching lines...) Expand 10 before | Expand all | Expand 10 after
10877 10877
10878 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize; 10878 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize;
10879 static const int kOriginalCodeIndex = kSharedFunctionInfoIndex + kPointerSize; 10879 static const int kOriginalCodeIndex = kSharedFunctionInfoIndex + kPointerSize;
10880 static const int kPatchedCodeIndex = kOriginalCodeIndex + kPointerSize; 10880 static const int kPatchedCodeIndex = kOriginalCodeIndex + kPointerSize;
10881 static const int kActiveBreakPointsCountIndex = 10881 static const int kActiveBreakPointsCountIndex =
10882 kPatchedCodeIndex + kPointerSize; 10882 kPatchedCodeIndex + kPointerSize;
10883 static const int kBreakPointsStateIndex = 10883 static const int kBreakPointsStateIndex =
10884 kActiveBreakPointsCountIndex + kPointerSize; 10884 kActiveBreakPointsCountIndex + kPointerSize;
10885 static const int kSize = kBreakPointsStateIndex + kPointerSize; 10885 static const int kSize = kBreakPointsStateIndex + kPointerSize;
10886 10886
10887 static const int kEstimatedNofBreakPointsInFunction = 16;
10888
10887 private: 10889 private:
10888 static const int kNoBreakPointInfo = -1; 10890 static const int kNoBreakPointInfo = -1;
10889 10891
10890 // Lookup the index in the break_points array for a code position. 10892 // Lookup the index in the break_points array for a code position.
10891 int GetBreakPointInfoIndex(int code_position); 10893 int GetBreakPointInfoIndex(int code_position);
10892 10894
10893 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugInfo); 10895 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugInfo);
10894 }; 10896 };
10895 10897
10896 10898
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
11069 } else { 11071 } else {
11070 value &= ~(1 << bit_position); 11072 value &= ~(1 << bit_position);
11071 } 11073 }
11072 return value; 11074 return value;
11073 } 11075 }
11074 }; 11076 };
11075 11077
11076 } } // namespace v8::internal 11078 } } // namespace v8::internal
11077 11079
11078 #endif // V8_OBJECTS_H_ 11080 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/debug-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698