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

Side by Side Diff: src/objects.h

Issue 8098020: Reapply "Support for precise stepping in functions compiled before debugging was started (step 2)" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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 3659 matching lines...) Expand 10 before | Expand all | Expand 10 after
3670 // [has_deoptimization_support]: For FUNCTION kind, tells if it has 3670 // [has_deoptimization_support]: For FUNCTION kind, tells if it has
3671 // deoptimization support. 3671 // deoptimization support.
3672 inline bool has_deoptimization_support(); 3672 inline bool has_deoptimization_support();
3673 inline void set_has_deoptimization_support(bool value); 3673 inline void set_has_deoptimization_support(bool value);
3674 3674
3675 // [has_debug_break_slots]: For FUNCTION kind, tells if it has 3675 // [has_debug_break_slots]: For FUNCTION kind, tells if it has
3676 // been compiled with debug break slots. 3676 // been compiled with debug break slots.
3677 inline bool has_debug_break_slots(); 3677 inline bool has_debug_break_slots();
3678 inline void set_has_debug_break_slots(bool value); 3678 inline void set_has_debug_break_slots(bool value);
3679 3679
3680 // [compiled_with_optimizing]: For FUNCTION kind, tells if it has
3681 // been compiled with IsOptimizing set to true.
3682 inline bool is_compiled_optimizable();
3683 inline void set_compiled_optimizable(bool value);
3684
3680 // [allow_osr_at_loop_nesting_level]: For FUNCTION kind, tells for 3685 // [allow_osr_at_loop_nesting_level]: For FUNCTION kind, tells for
3681 // how long the function has been marked for OSR and therefore which 3686 // how long the function has been marked for OSR and therefore which
3682 // level of loop nesting we are willing to do on-stack replacement 3687 // level of loop nesting we are willing to do on-stack replacement
3683 // for. 3688 // for.
3684 inline void set_allow_osr_at_loop_nesting_level(int level); 3689 inline void set_allow_osr_at_loop_nesting_level(int level);
3685 inline int allow_osr_at_loop_nesting_level(); 3690 inline int allow_osr_at_loop_nesting_level();
3686 3691
3687 // [stack_slots]: For kind OPTIMIZED_FUNCTION, the number of stack slots 3692 // [stack_slots]: For kind OPTIMIZED_FUNCTION, the number of stack slots
3688 // reserved in the code prologue. 3693 // reserved in the code prologue.
3689 inline unsigned stack_slots(); 3694 inline unsigned stack_slots();
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
3865 static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1; 3870 static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1;
3866 static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1; 3871 static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1;
3867 static const int kCompareStateOffset = kStubMajorKeyOffset + 1; 3872 static const int kCompareStateOffset = kStubMajorKeyOffset + 1;
3868 static const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1; 3873 static const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1;
3869 static const int kHasFunctionCacheOffset = kStubMajorKeyOffset + 1; 3874 static const int kHasFunctionCacheOffset = kStubMajorKeyOffset + 1;
3870 3875
3871 static const int kFullCodeFlags = kOptimizableOffset + 1; 3876 static const int kFullCodeFlags = kOptimizableOffset + 1;
3872 class FullCodeFlagsHasDeoptimizationSupportField: 3877 class FullCodeFlagsHasDeoptimizationSupportField:
3873 public BitField<bool, 0, 1> {}; // NOLINT 3878 public BitField<bool, 0, 1> {}; // NOLINT
3874 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {}; 3879 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {};
3880 class FullCodeFlagsIsCompiledOptimizable: public BitField<bool, 2, 1> {};
3875 3881
3876 static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1; 3882 static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1;
3877 3883
3878 static const int kAllowOSRAtLoopNestingLevelOffset = kFullCodeFlags + 1; 3884 static const int kAllowOSRAtLoopNestingLevelOffset = kFullCodeFlags + 1;
3879 3885
3880 static const int kSafepointTableOffsetOffset = kStackSlotsOffset + kIntSize; 3886 static const int kSafepointTableOffsetOffset = kStackSlotsOffset + kIntSize;
3881 static const int kStackCheckTableOffsetOffset = kStackSlotsOffset + kIntSize; 3887 static const int kStackCheckTableOffsetOffset = kStackSlotsOffset + kIntSize;
3882 3888
3883 // Flags layout. BitField<type, shift, size>. 3889 // Flags layout. BitField<type, shift, size>.
3884 class ICStateField: public BitField<InlineCacheState, 0, 3> {}; 3890 class ICStateField: public BitField<InlineCacheState, 0, 3> {};
(...skipping 3678 matching lines...) Expand 10 before | Expand all | Expand 10 after
7563 } else { 7569 } else {
7564 value &= ~(1 << bit_position); 7570 value &= ~(1 << bit_position);
7565 } 7571 }
7566 return value; 7572 return value;
7567 } 7573 }
7568 }; 7574 };
7569 7575
7570 } } // namespace v8::internal 7576 } } // namespace v8::internal
7571 7577
7572 #endif // V8_OBJECTS_H_ 7578 #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