V8 Project
v8::internal::NoTrackDoubleFieldsForSerializerScope Class Reference
+ Collaboration diagram for v8::internal::NoTrackDoubleFieldsForSerializerScope:

Public Member Functions

 NoTrackDoubleFieldsForSerializerScope (Isolate *isolate)
 
 ~NoTrackDoubleFieldsForSerializerScope ()
 

Private Attributes

bool flag_
 

Detailed Description

Definition at line 2588 of file bootstrapper.cc.

Constructor & Destructor Documentation

◆ NoTrackDoubleFieldsForSerializerScope()

v8::internal::NoTrackDoubleFieldsForSerializerScope::NoTrackDoubleFieldsForSerializerScope ( Isolate isolate)
inlineexplicit

Definition at line 2590 of file bootstrapper.cc.

2591  : flag_(FLAG_track_double_fields) {
2592  if (isolate->serializer_enabled()) {
2593  // Disable tracking double fields because heap numbers treated as
2594  // immutable by the serializer.
2595  FLAG_track_double_fields = false;
2596  }
2597  }

References v8::internal::Isolate::serializer_enabled().

+ Here is the call graph for this function:

◆ ~NoTrackDoubleFieldsForSerializerScope()

v8::internal::NoTrackDoubleFieldsForSerializerScope::~NoTrackDoubleFieldsForSerializerScope ( )
inline

Definition at line 2599 of file bootstrapper.cc.

2599  {
2600  FLAG_track_double_fields = flag_;
2601  }

Member Data Documentation

◆ flag_

bool v8::internal::NoTrackDoubleFieldsForSerializerScope::flag_
private

Definition at line 2604 of file bootstrapper.cc.


The documentation for this class was generated from the following file: