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

Side by Side Diff: src/objects.h

Issue 1227213003: Debugger: ensure that functions with debug info have code with break slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/debug.cc ('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 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 6839 matching lines...) Expand 10 before | Expand all | Expand 10 after
6850 // Stores opt_count and bailout_reason as bit-fields. 6850 // Stores opt_count and bailout_reason as bit-fields.
6851 inline void set_opt_count_and_bailout_reason(int value); 6851 inline void set_opt_count_and_bailout_reason(int value);
6852 inline int opt_count_and_bailout_reason() const; 6852 inline int opt_count_and_bailout_reason() const;
6853 6853
6854 void set_disable_optimization_reason(BailoutReason reason) { 6854 void set_disable_optimization_reason(BailoutReason reason) {
6855 set_opt_count_and_bailout_reason( 6855 set_opt_count_and_bailout_reason(
6856 DisabledOptimizationReasonBits::update(opt_count_and_bailout_reason(), 6856 DisabledOptimizationReasonBits::update(opt_count_and_bailout_reason(),
6857 reason)); 6857 reason));
6858 } 6858 }
6859 6859
6860 // Tells whether this function should be subject to debugging.
6861 inline bool IsSubjectToDebugging();
6862
6860 // Check whether or not this function is inlineable. 6863 // Check whether or not this function is inlineable.
6861 bool IsInlineable(); 6864 bool IsInlineable();
6862 6865
6863 // Source size of this function. 6866 // Source size of this function.
6864 int SourceSize(); 6867 int SourceSize();
6865 6868
6866 // Calculate the instance size. 6869 // Calculate the instance size.
6867 int CalculateInstanceSize(); 6870 int CalculateInstanceSize();
6868 6871
6869 // Calculate the number of in-object properties. 6872 // Calculate the number of in-object properties.
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
7242 // [[Call]] and [[Construct]] description in ECMA-262, section 7245 // [[Call]] and [[Construct]] description in ECMA-262, section
7243 // 8.6.2, page 27. 7246 // 8.6.2, page 27.
7244 inline Code* code(); 7247 inline Code* code();
7245 inline void set_code(Code* code); 7248 inline void set_code(Code* code);
7246 inline void set_code_no_write_barrier(Code* code); 7249 inline void set_code_no_write_barrier(Code* code);
7247 inline void ReplaceCode(Code* code); 7250 inline void ReplaceCode(Code* code);
7248 7251
7249 // Tells whether this function is builtin. 7252 // Tells whether this function is builtin.
7250 inline bool IsBuiltin(); 7253 inline bool IsBuiltin();
7251 7254
7252 // Tells whether this function is defined in a native script.
7253 inline bool IsFromNativeScript();
7254
7255 // Tells whether this function is defined in an extension script.
7256 inline bool IsFromExtensionScript();
7257
7258 // Tells whether this function should be subject to debugging. 7255 // Tells whether this function should be subject to debugging.
7259 inline bool IsSubjectToDebugging(); 7256 inline bool IsSubjectToDebugging();
7260 7257
7261 // Tells whether or not the function needs arguments adaption. 7258 // Tells whether or not the function needs arguments adaption.
7262 inline bool NeedsArgumentsAdaption(); 7259 inline bool NeedsArgumentsAdaption();
7263 7260
7264 // Tells whether or not this function has been optimized. 7261 // Tells whether or not this function has been optimized.
7265 inline bool IsOptimized(); 7262 inline bool IsOptimized();
7266 7263
7267 // Mark this function for lazy recompilation. The function will be 7264 // Mark this function for lazy recompilation. The function will be
(...skipping 3519 matching lines...) Expand 10 before | Expand all | Expand 10 after
10787 } else { 10784 } else {
10788 value &= ~(1 << bit_position); 10785 value &= ~(1 << bit_position);
10789 } 10786 }
10790 return value; 10787 return value;
10791 } 10788 }
10792 }; 10789 };
10793 10790
10794 } } // namespace v8::internal 10791 } } // namespace v8::internal
10795 10792
10796 #endif // V8_OBJECTS_H_ 10793 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698