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

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: fix Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/liveedit.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 10864 matching lines...) Expand 10 before | Expand all | Expand 10 after
10875 10875
10876 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize; 10876 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize;
10877 static const int kOriginalCodeIndex = kSharedFunctionInfoIndex + kPointerSize; 10877 static const int kOriginalCodeIndex = kSharedFunctionInfoIndex + kPointerSize;
10878 static const int kPatchedCodeIndex = kOriginalCodeIndex + kPointerSize; 10878 static const int kPatchedCodeIndex = kOriginalCodeIndex + kPointerSize;
10879 static const int kActiveBreakPointsCountIndex = 10879 static const int kActiveBreakPointsCountIndex =
10880 kPatchedCodeIndex + kPointerSize; 10880 kPatchedCodeIndex + kPointerSize;
10881 static const int kBreakPointsStateIndex = 10881 static const int kBreakPointsStateIndex =
10882 kActiveBreakPointsCountIndex + kPointerSize; 10882 kActiveBreakPointsCountIndex + kPointerSize;
10883 static const int kSize = kBreakPointsStateIndex + kPointerSize; 10883 static const int kSize = kBreakPointsStateIndex + kPointerSize;
10884 10884
10885 static const int kEstimatedNofBreakPointsInFunction = 16;
10886
10885 private: 10887 private:
10886 static const int kNoBreakPointInfo = -1; 10888 static const int kNoBreakPointInfo = -1;
10887 10889
10888 // Lookup the index in the break_points array for a code position. 10890 // Lookup the index in the break_points array for a code position.
10889 int GetBreakPointInfoIndex(int code_position); 10891 int GetBreakPointInfoIndex(int code_position);
10890 10892
10891 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugInfo); 10893 DISALLOW_IMPLICIT_CONSTRUCTORS(DebugInfo);
10892 }; 10894 };
10893 10895
10894 10896
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
11067 } else { 11069 } else {
11068 value &= ~(1 << bit_position); 11070 value &= ~(1 << bit_position);
11069 } 11071 }
11070 return value; 11072 return value;
11071 } 11073 }
11072 }; 11074 };
11073 11075
11074 } } // namespace v8::internal 11076 } } // namespace v8::internal
11075 11077
11076 #endif // V8_OBJECTS_H_ 11078 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698