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

Side by Side Diff: src/objects.h

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: addressed comments 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
« no previous file with comments | « src/inspector/v8-debugger-script.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include <memory> 9 #include <memory>
10 10
(...skipping 7356 matching lines...) Expand 10 before | Expand all | Expand 10 after
7367 7367
7368 // Indicates that the the shared function info is deserialized from cache. 7368 // Indicates that the the shared function info is deserialized from cache.
7369 DECL_BOOLEAN_ACCESSORS(deserialized) 7369 DECL_BOOLEAN_ACCESSORS(deserialized)
7370 7370
7371 // Indicates that the function cannot cause side-effects. 7371 // Indicates that the function cannot cause side-effects.
7372 DECL_BOOLEAN_ACCESSORS(has_no_side_effect) 7372 DECL_BOOLEAN_ACCESSORS(has_no_side_effect)
7373 7373
7374 // Indicates that |has_no_side_effect| has been computed and set. 7374 // Indicates that |has_no_side_effect| has been computed and set.
7375 DECL_BOOLEAN_ACCESSORS(computed_has_no_side_effect) 7375 DECL_BOOLEAN_ACCESSORS(computed_has_no_side_effect)
7376 7376
7377 // Indicates that the function should be skipped during stepping.
7378 DECL_BOOLEAN_ACCESSORS(debug_is_blackboxed)
7379
7380 // Indicates that |debug_is_blackboxed| has been computed and set.
7381 DECL_BOOLEAN_ACCESSORS(computed_debug_is_blackboxed)
7382
7377 // The function's name if it is non-empty, otherwise the inferred name. 7383 // The function's name if it is non-empty, otherwise the inferred name.
7378 String* DebugName(); 7384 String* DebugName();
7379 7385
7380 // The function cannot cause any side effects. 7386 // The function cannot cause any side effects.
7381 bool HasNoSideEffect(); 7387 bool HasNoSideEffect();
7382 7388
7383 // Used for flags such as --hydrogen-filter. 7389 // Used for flags such as --hydrogen-filter.
7384 bool PassesFilter(const char* raw_filter); 7390 bool PassesFilter(const char* raw_filter);
7385 7391
7386 // Position of the 'function' token in the script source. 7392 // Position of the 'function' token in the script source.
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
7761 kCompilerHintsCount = kFunctionKind + 10, // Pseudo entry 7767 kCompilerHintsCount = kFunctionKind + 10, // Pseudo entry
7762 }; 7768 };
7763 7769
7764 // Bit positions in debugger_hints. 7770 // Bit positions in debugger_hints.
7765 enum DebuggerHints { 7771 enum DebuggerHints {
7766 kIsAnonymousExpression, 7772 kIsAnonymousExpression,
7767 kNameShouldPrintAsAnonymous, 7773 kNameShouldPrintAsAnonymous,
7768 kDeserialized, 7774 kDeserialized,
7769 kHasNoSideEffect, 7775 kHasNoSideEffect,
7770 kComputedHasNoSideEffect, 7776 kComputedHasNoSideEffect,
7777 kDebugIsBlackboxed,
7778 kComputedDebugIsBlackboxed,
7771 }; 7779 };
7772 7780
7773 // kFunctionKind has to be byte-aligned 7781 // kFunctionKind has to be byte-aligned
7774 STATIC_ASSERT((kFunctionKind % kBitsPerByte) == 0); 7782 STATIC_ASSERT((kFunctionKind % kBitsPerByte) == 0);
7775 7783
7776 class FunctionKindBits : public BitField<FunctionKind, kFunctionKind, 10> {}; 7784 class FunctionKindBits : public BitField<FunctionKind, kFunctionKind, 10> {};
7777 7785
7778 class DeoptCountBits : public BitField<int, 0, 4> {}; 7786 class DeoptCountBits : public BitField<int, 0, 4> {};
7779 class OptReenableTriesBits : public BitField<int, 4, 18> {}; 7787 class OptReenableTriesBits : public BitField<int, 4, 18> {};
7780 class ICAgeBits : public BitField<int, 22, 8> {}; 7788 class ICAgeBits : public BitField<int, 22, 8> {};
(...skipping 3936 matching lines...) Expand 10 before | Expand all | Expand 10 after
11717 } 11725 }
11718 }; 11726 };
11719 11727
11720 11728
11721 } // NOLINT, false-positive due to second-order macros. 11729 } // NOLINT, false-positive due to second-order macros.
11722 } // NOLINT, false-positive due to second-order macros. 11730 } // NOLINT, false-positive due to second-order macros.
11723 11731
11724 #include "src/objects/object-macros-undef.h" 11732 #include "src/objects/object-macros-undef.h"
11725 11733
11726 #endif // V8_OBJECTS_H_ 11734 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-debugger-script.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698