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

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

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)
Patch Set: added a test, ready for review Created 3 years, 10 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
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 5825 matching lines...) Expand 10 before | Expand all | Expand 10 after
5836 BytecodeArray* DebugInfo::DebugBytecodeArray() { 5836 BytecodeArray* DebugInfo::DebugBytecodeArray() {
5837 DCHECK(HasDebugBytecodeArray()); 5837 DCHECK(HasDebugBytecodeArray());
5838 return BytecodeArray::cast(debug_bytecode_array()); 5838 return BytecodeArray::cast(debug_bytecode_array());
5839 } 5839 }
5840 5840
5841 Code* DebugInfo::DebugCode() { 5841 Code* DebugInfo::DebugCode() {
5842 DCHECK(HasDebugCode()); 5842 DCHECK(HasDebugCode());
5843 return shared()->code(); 5843 return shared()->code();
5844 } 5844 }
5845 5845
5846 ACCESSORS(BreakPoint, condition, Object, kConditionIndex);
5847 ACCESSORS(BreakPoint, data, Object, kDataIndex);
5848
5846 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) 5849 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex)
5847 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) 5850 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex)
5848 5851
5849 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) 5852 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset)
5850 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, 5853 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray,
5851 kOptimizedCodeMapOffset) 5854 kOptimizedCodeMapOffset)
5852 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) 5855 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset)
5853 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, 5856 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata,
5854 kFeedbackMetadataOffset) 5857 kFeedbackMetadataOffset)
5855 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) 5858 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset)
(...skipping 2416 matching lines...) Expand 10 before | Expand all | Expand 10 after
8272 #undef WRITE_INT64_FIELD 8275 #undef WRITE_INT64_FIELD
8273 #undef READ_BYTE_FIELD 8276 #undef READ_BYTE_FIELD
8274 #undef WRITE_BYTE_FIELD 8277 #undef WRITE_BYTE_FIELD
8275 #undef NOBARRIER_READ_BYTE_FIELD 8278 #undef NOBARRIER_READ_BYTE_FIELD
8276 #undef NOBARRIER_WRITE_BYTE_FIELD 8279 #undef NOBARRIER_WRITE_BYTE_FIELD
8277 8280
8278 } // namespace internal 8281 } // namespace internal
8279 } // namespace v8 8282 } // namespace v8
8280 8283
8281 #endif // V8_OBJECTS_INL_H_ 8284 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/objects-debug.cc ('K') | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698