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

Side by Side Diff: src/objects-inl.h

Issue 2230143002: [debugger] use source position to identify break points. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: address comment Created 4 years, 4 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/objects.cc ('k') | src/objects-printer.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 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 5800 matching lines...) Expand 10 before | Expand all | Expand 10 after
5811 5811
5812 5812
5813 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) 5813 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex)
5814 ACCESSORS(DebugInfo, abstract_code, AbstractCode, kAbstractCodeIndex) 5814 ACCESSORS(DebugInfo, abstract_code, AbstractCode, kAbstractCodeIndex)
5815 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) 5815 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex)
5816 5816
5817 BytecodeArray* DebugInfo::original_bytecode_array() { 5817 BytecodeArray* DebugInfo::original_bytecode_array() {
5818 return shared()->bytecode_array(); 5818 return shared()->bytecode_array();
5819 } 5819 }
5820 5820
5821 SMI_ACCESSORS(BreakPointInfo, code_offset, kCodeOffsetIndex)
5822 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) 5821 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex)
5823 SMI_ACCESSORS(BreakPointInfo, statement_position, kStatementPositionIndex)
5824 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) 5822 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex)
5825 5823
5826 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) 5824 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset)
5827 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, 5825 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray,
5828 kOptimizedCodeMapOffset) 5826 kOptimizedCodeMapOffset)
5829 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) 5827 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset)
5830 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata, 5828 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata,
5831 kFeedbackMetadataOffset) 5829 kFeedbackMetadataOffset)
5832 #if TRACE_MAPS 5830 #if TRACE_MAPS
5833 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) 5831 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset)
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
8186 #undef WRITE_INT64_FIELD 8184 #undef WRITE_INT64_FIELD
8187 #undef READ_BYTE_FIELD 8185 #undef READ_BYTE_FIELD
8188 #undef WRITE_BYTE_FIELD 8186 #undef WRITE_BYTE_FIELD
8189 #undef NOBARRIER_READ_BYTE_FIELD 8187 #undef NOBARRIER_READ_BYTE_FIELD
8190 #undef NOBARRIER_WRITE_BYTE_FIELD 8188 #undef NOBARRIER_WRITE_BYTE_FIELD
8191 8189
8192 } // namespace internal 8190 } // namespace internal
8193 } // namespace v8 8191 } // namespace v8
8194 8192
8195 #endif // V8_OBJECTS_INL_H_ 8193 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698