Commit 6b395d5a authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Rename FunctionBlueprint to VirtualClosure

... in line with VirtualContext and VirtualBoundFunction.

Bug: v8:7790
Change-Id: I454048ab4ddc192780a09017b8b47caf60386098
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940247
Auto-Submit: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65217}
parent 1b594a29
...@@ -86,16 +86,16 @@ struct VirtualContext { ...@@ -86,16 +86,16 @@ struct VirtualContext {
} }
}; };
class FunctionBlueprint; class VirtualClosure;
struct VirtualBoundFunction; struct VirtualBoundFunction;
using ConstantsSet = FunctionalSet<Handle<Object>, Handle<Object>::equal_to>; using ConstantsSet = FunctionalSet<Handle<Object>, Handle<Object>::equal_to>;
using VirtualContextsSet = using VirtualContextsSet =
FunctionalSet<VirtualContext, std::equal_to<VirtualContext>>; FunctionalSet<VirtualContext, std::equal_to<VirtualContext>>;
using MapsSet = FunctionalSet<Handle<Map>, Handle<Map>::equal_to>; using MapsSet = FunctionalSet<Handle<Map>, Handle<Map>::equal_to>;
using BlueprintsSet = using VirtualClosuresSet =
FunctionalSet<FunctionBlueprint, std::equal_to<FunctionBlueprint>>; FunctionalSet<VirtualClosure, std::equal_to<VirtualClosure>>;
using BoundFunctionsSet = using VirtualBoundFunctionsSet =
FunctionalSet<VirtualBoundFunction, std::equal_to<VirtualBoundFunction>>; FunctionalSet<VirtualBoundFunction, std::equal_to<VirtualBoundFunction>>;
struct HintsImpl; struct HintsImpl;
...@@ -108,9 +108,9 @@ class Hints { ...@@ -108,9 +108,9 @@ class Hints {
// For inspection only. // For inspection only.
ConstantsSet constants() const; ConstantsSet constants() const;
MapsSet maps() const; MapsSet maps() const;
BlueprintsSet function_blueprints() const; VirtualClosuresSet virtual_closures() const;
VirtualContextsSet virtual_contexts() const; VirtualContextsSet virtual_contexts() const;
BoundFunctionsSet virtual_bound_functions() const; VirtualBoundFunctionsSet virtual_bound_functions() const;
bool IsEmpty() const; bool IsEmpty() const;
bool operator==(Hints const& other) const; bool operator==(Hints const& other) const;
...@@ -140,8 +140,7 @@ class Hints { ...@@ -140,8 +140,7 @@ class Hints {
// then the following updates will be seen by all of them: // then the following updates will be seen by all of them:
void AddConstant(Handle<Object> constant, Zone* zone); void AddConstant(Handle<Object> constant, Zone* zone);
void AddMap(Handle<Map> map, Zone* zone, bool check_zone_equality = true); void AddMap(Handle<Map> map, Zone* zone, bool check_zone_equality = true);
void AddFunctionBlueprint(FunctionBlueprint const& function_blueprint, void AddVirtualClosure(VirtualClosure const& virtual_closure, Zone* zone);
Zone* zone);
void AddVirtualContext(VirtualContext const& virtual_context, Zone* zone); void AddVirtualContext(VirtualContext const& virtual_context, Zone* zone);
void AddVirtualBoundFunction(VirtualBoundFunction const& bound_function, void AddVirtualBoundFunction(VirtualBoundFunction const& bound_function,
Zone* zone); Zone* zone);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment