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

Side by Side Diff: src/objects.h

Issue 7839030: Support for precise stepping in functions compiled before debugging was started (step 1) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed #if 0 / #endif Created 9 years, 3 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/list-inl.h ('k') | src/objects-inl.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3665 matching lines...) Expand 10 before | Expand all | Expand 10 after
3676 3676
3677 // [optimizable]: For FUNCTION kind, tells if it is optimizable. 3677 // [optimizable]: For FUNCTION kind, tells if it is optimizable.
3678 inline bool optimizable(); 3678 inline bool optimizable();
3679 inline void set_optimizable(bool value); 3679 inline void set_optimizable(bool value);
3680 3680
3681 // [has_deoptimization_support]: For FUNCTION kind, tells if it has 3681 // [has_deoptimization_support]: For FUNCTION kind, tells if it has
3682 // deoptimization support. 3682 // deoptimization support.
3683 inline bool has_deoptimization_support(); 3683 inline bool has_deoptimization_support();
3684 inline void set_has_deoptimization_support(bool value); 3684 inline void set_has_deoptimization_support(bool value);
3685 3685
3686 // [has_debug_break_slots]: For FUNCTION kind, tells if it has
3687 // been compiled with debug break slots.
3688 inline bool has_debug_break_slots();
3689 inline void set_has_debug_break_slots(bool value);
3690
3686 // [allow_osr_at_loop_nesting_level]: For FUNCTION kind, tells for 3691 // [allow_osr_at_loop_nesting_level]: For FUNCTION kind, tells for
3687 // how long the function has been marked for OSR and therefore which 3692 // how long the function has been marked for OSR and therefore which
3688 // level of loop nesting we are willing to do on-stack replacement 3693 // level of loop nesting we are willing to do on-stack replacement
3689 // for. 3694 // for.
3690 inline void set_allow_osr_at_loop_nesting_level(int level); 3695 inline void set_allow_osr_at_loop_nesting_level(int level);
3691 inline int allow_osr_at_loop_nesting_level(); 3696 inline int allow_osr_at_loop_nesting_level();
3692 3697
3693 // [stack_slots]: For kind OPTIMIZED_FUNCTION, the number of stack slots 3698 // [stack_slots]: For kind OPTIMIZED_FUNCTION, the number of stack slots
3694 // reserved in the code prologue. 3699 // reserved in the code prologue.
3695 inline unsigned stack_slots(); 3700 inline unsigned stack_slots();
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
3867 // Byte offsets within kKindSpecificFlagsOffset. 3872 // Byte offsets within kKindSpecificFlagsOffset.
3868 static const int kStubMajorKeyOffset = kKindSpecificFlagsOffset; 3873 static const int kStubMajorKeyOffset = kKindSpecificFlagsOffset;
3869 static const int kOptimizableOffset = kKindSpecificFlagsOffset; 3874 static const int kOptimizableOffset = kKindSpecificFlagsOffset;
3870 static const int kStackSlotsOffset = kKindSpecificFlagsOffset; 3875 static const int kStackSlotsOffset = kKindSpecificFlagsOffset;
3871 static const int kCheckTypeOffset = kKindSpecificFlagsOffset; 3876 static const int kCheckTypeOffset = kKindSpecificFlagsOffset;
3872 3877
3873 static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1; 3878 static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1;
3874 static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1; 3879 static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1;
3875 static const int kCompareStateOffset = kStubMajorKeyOffset + 1; 3880 static const int kCompareStateOffset = kStubMajorKeyOffset + 1;
3876 static const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1; 3881 static const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1;
3877 static const int kHasDeoptimizationSupportOffset = kOptimizableOffset + 1; 3882
3883 static const int kFullCodeFlags = kOptimizableOffset + 1;
3884 class FullCodeFlagsHasDeoptimizationSupportField:
3885 public BitField<bool, 0, 1> {}; // NOLINT
3886 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {};
3878 3887
3879 static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1; 3888 static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1;
3880 static const int kAllowOSRAtLoopNestingLevelOffset = 3889
3881 kHasDeoptimizationSupportOffset + 1; 3890 static const int kAllowOSRAtLoopNestingLevelOffset = kFullCodeFlags + 1;
3882 3891
3883 static const int kSafepointTableOffsetOffset = kStackSlotsOffset + kIntSize; 3892 static const int kSafepointTableOffsetOffset = kStackSlotsOffset + kIntSize;
3884 static const int kStackCheckTableOffsetOffset = kStackSlotsOffset + kIntSize; 3893 static const int kStackCheckTableOffsetOffset = kStackSlotsOffset + kIntSize;
3885 3894
3886 // Flags layout. BitField<type, shift, size>. 3895 // Flags layout. BitField<type, shift, size>.
3887 class ICStateField: public BitField<InlineCacheState, 0, 3> {}; 3896 class ICStateField: public BitField<InlineCacheState, 0, 3> {};
3888 class ICInLoopField: public BitField<InLoopFlag, 3, 1> {}; 3897 class ICInLoopField: public BitField<InLoopFlag, 3, 1> {};
3889 class TypeField: public BitField<PropertyType, 4, 4> {}; 3898 class TypeField: public BitField<PropertyType, 4, 4> {};
3890 class KindField: public BitField<Kind, 8, 4> {}; 3899 class KindField: public BitField<Kind, 8, 4> {};
3891 class CacheHolderField: public BitField<InlineCacheHolderFlag, 12, 1> {}; 3900 class CacheHolderField: public BitField<InlineCacheHolderFlag, 12, 1> {};
(...skipping 3559 matching lines...) Expand 10 before | Expand all | Expand 10 after
7451 } else { 7460 } else {
7452 value &= ~(1 << bit_position); 7461 value &= ~(1 << bit_position);
7453 } 7462 }
7454 return value; 7463 return value;
7455 } 7464 }
7456 }; 7465 };
7457 7466
7458 } } // namespace v8::internal 7467 } } // namespace v8::internal
7459 7468
7460 #endif // V8_OBJECTS_H_ 7469 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/list-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698