V8 Project
v8::internal::LiteralFixer::ClearValuesVisitor Class Reference
+ Collaboration diagram for v8::internal::LiteralFixer::ClearValuesVisitor:

Public Member Functions

void visit (JSFunction *fun)
 

Detailed Description

Definition at line 1082 of file liveedit.cc.

Member Function Documentation

◆ visit()

void v8::internal::LiteralFixer::ClearValuesVisitor::visit ( JSFunction fun)
inline

Definition at line 1084 of file liveedit.cc.

1084  {
1085  FixedArray* literals = fun->literals();
1086  int len = literals->length();
1087  for (int j = JSFunction::kLiteralsPrefixSize; j < len; j++) {
1088  literals->set_undefined(j);
1089  }
1090  }
static const int kLiteralsPrefixSize
Definition: objects.h:7388
enable harmony numeric literals(0o77, 0b11)") DEFINE_BOOL(harmony_object_literals

References v8::internal::JSFunction::kLiteralsPrefixSize, v8::internal::JSFunction::literals(), and literals().

+ Here is the call graph for this function:

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