diff options
Diffstat (limited to 'deps/v8/src/compiler/compilation-dependencies.cc')
-rw-r--r-- | deps/v8/src/compiler/compilation-dependencies.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/deps/v8/src/compiler/compilation-dependencies.cc b/deps/v8/src/compiler/compilation-dependencies.cc index 33990dfa480..b9ed54256a6 100644 --- a/deps/v8/src/compiler/compilation-dependencies.cc +++ b/deps/v8/src/compiler/compilation-dependencies.cc @@ -176,7 +176,7 @@ class FieldRepresentationDependency final : public CompilationDependency { void Install(const MaybeObjectHandle& code) const override { SLOW_DCHECK(IsValid()); DependentCode::InstallDependency(owner_.isolate(), code, owner_.object(), - DependentCode::kFieldOwnerGroup); + DependentCode::kFieldRepresentationGroup); } private: @@ -206,7 +206,7 @@ class FieldTypeDependency final : public CompilationDependency { void Install(const MaybeObjectHandle& code) const override { SLOW_DCHECK(IsValid()); DependentCode::InstallDependency(owner_.isolate(), code, owner_.object(), - DependentCode::kFieldOwnerGroup); + DependentCode::kFieldTypeGroup); } private: @@ -234,7 +234,7 @@ class FieldConstnessDependency final : public CompilationDependency { void Install(const MaybeObjectHandle& code) const override { SLOW_DCHECK(IsValid()); DependentCode::InstallDependency(owner_.isolate(), code, owner_.object(), - DependentCode::kFieldOwnerGroup); + DependentCode::kFieldConstGroup); } private: @@ -534,8 +534,7 @@ bool CompilationDependencies::Commit(Handle<Code> code) { // that triggers its deoptimization. if (FLAG_stress_gc_during_compilation) { broker_->isolate()->heap()->PreciseCollectAllGarbage( - Heap::kNoGCFlags, GarbageCollectionReason::kTesting, - kGCCallbackFlagForced); + Heap::kForcedGC, GarbageCollectionReason::kTesting, kNoGCCallbackFlags); } #ifdef DEBUG for (auto dep : dependencies_) { |