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

Side by Side Diff: src/objects.h

Issue 967323002: Refactor BreakLocationIterator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: static_cast instead Created 5 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/mips64/debug-mips64.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 <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 10755 matching lines...) Expand 10 before | Expand all | Expand 10 after
10766 Object* GetBreakPointInfo(int code_position); 10766 Object* GetBreakPointInfo(int code_position);
10767 // Clear a break point. 10767 // Clear a break point.
10768 static void ClearBreakPoint(Handle<DebugInfo> debug_info, 10768 static void ClearBreakPoint(Handle<DebugInfo> debug_info,
10769 int code_position, 10769 int code_position,
10770 Handle<Object> break_point_object); 10770 Handle<Object> break_point_object);
10771 // Set a break point. 10771 // Set a break point.
10772 static void SetBreakPoint(Handle<DebugInfo> debug_info, int code_position, 10772 static void SetBreakPoint(Handle<DebugInfo> debug_info, int code_position,
10773 int source_position, int statement_position, 10773 int source_position, int statement_position,
10774 Handle<Object> break_point_object); 10774 Handle<Object> break_point_object);
10775 // Get the break point objects for a code position. 10775 // Get the break point objects for a code position.
10776 Object* GetBreakPointObjects(int code_position); 10776 Handle<Object> GetBreakPointObjects(int code_position);
10777 // Find the break point info holding this break point object. 10777 // Find the break point info holding this break point object.
10778 static Object* FindBreakPointInfo(Handle<DebugInfo> debug_info, 10778 static Handle<Object> FindBreakPointInfo(Handle<DebugInfo> debug_info,
10779 Handle<Object> break_point_object); 10779 Handle<Object> break_point_object);
10780 // Get the number of break points for this function. 10780 // Get the number of break points for this function.
10781 int GetBreakPointCount(); 10781 int GetBreakPointCount();
10782 10782
10783 DECLARE_CAST(DebugInfo) 10783 DECLARE_CAST(DebugInfo)
10784 10784
10785 // Dispatched behavior. 10785 // Dispatched behavior.
10786 DECLARE_PRINTER(DebugInfo) 10786 DECLARE_PRINTER(DebugInfo)
10787 DECLARE_VERIFIER(DebugInfo) 10787 DECLARE_VERIFIER(DebugInfo)
10788 10788
10789 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize; 10789 static const int kSharedFunctionInfoIndex = Struct::kHeaderSize;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
10983 } else { 10983 } else {
10984 value &= ~(1 << bit_position); 10984 value &= ~(1 << bit_position);
10985 } 10985 }
10986 return value; 10986 return value;
10987 } 10987 }
10988 }; 10988 };
10989 10989
10990 } } // namespace v8::internal 10990 } } // namespace v8::internal
10991 10991
10992 #endif // V8_OBJECTS_H_ 10992 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips64/debug-mips64.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698