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

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

Issue 2789073002: [inspector] store stack frame in struct instead of JSObject (Closed)
Patch Set: gcmole should be happy Created 3 years, 8 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-debug.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 5779 matching lines...) Expand 10 before | Expand all | Expand 10 after
5790 } 5790 }
5791 5791
5792 Code* DebugInfo::DebugCode() { 5792 Code* DebugInfo::DebugCode() {
5793 DCHECK(HasDebugCode()); 5793 DCHECK(HasDebugCode());
5794 return shared()->code(); 5794 return shared()->code();
5795 } 5795 }
5796 5796
5797 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) 5797 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex)
5798 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) 5798 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex)
5799 5799
5800 SMI_ACCESSORS(StackFrameInfo, line_number, kLineNumberIndex)
5801 SMI_ACCESSORS(StackFrameInfo, column_number, kColumnNumberIndex)
5802 SMI_ACCESSORS(StackFrameInfo, script_id, kScriptIdIndex)
5803 ACCESSORS(StackFrameInfo, script_name, Object, kScriptNameIndex)
5804 ACCESSORS(StackFrameInfo, script_name_or_source_url, Object,
5805 kScriptNameOrSourceUrlIndex)
5806 ACCESSORS(StackFrameInfo, function_name, Object, kFunctionNameIndex)
5807 SMI_ACCESSORS(StackFrameInfo, flag, kFlagIndex)
5808 BOOL_ACCESSORS(StackFrameInfo, flag, is_eval, kIsEvalBit)
5809 BOOL_ACCESSORS(StackFrameInfo, flag, is_constructor, kIsConstructorBit)
5810
5800 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) 5811 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset)
5801 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, 5812 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray,
5802 kOptimizedCodeMapOffset) 5813 kOptimizedCodeMapOffset)
5803 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) 5814 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset)
5804 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata, 5815 ACCESSORS(SharedFunctionInfo, feedback_metadata, FeedbackMetadata,
5805 kFeedbackMetadataOffset) 5816 kFeedbackMetadataOffset)
5806 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset) 5817 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset)
5807 #if TRACE_MAPS 5818 #if TRACE_MAPS
5808 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) 5819 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset)
5809 #endif 5820 #endif
(...skipping 2436 matching lines...) Expand 10 before | Expand all | Expand 10 after
8246 #undef WRITE_BYTE_FIELD 8257 #undef WRITE_BYTE_FIELD
8247 #undef NOBARRIER_READ_BYTE_FIELD 8258 #undef NOBARRIER_READ_BYTE_FIELD
8248 #undef NOBARRIER_WRITE_BYTE_FIELD 8259 #undef NOBARRIER_WRITE_BYTE_FIELD
8249 8260
8250 } // namespace internal 8261 } // namespace internal
8251 } // namespace v8 8262 } // namespace v8
8252 8263
8253 #include "src/objects/object-macros-undef.h" 8264 #include "src/objects/object-macros-undef.h"
8254 8265
8255 #endif // V8_OBJECTS_INL_H_ 8266 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698