mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibJS/JIT: Resolve the GetCalleeAndThisFromEnvironment cache at JIT time
This commit is contained in:
parent
8f4966fc5c
commit
2520c46224
4 changed files with 17 additions and 15 deletions
|
@ -29,7 +29,7 @@ struct CalleeAndThis {
|
|||
Value callee;
|
||||
Value this_value;
|
||||
};
|
||||
ThrowCompletionOr<CalleeAndThis> get_callee_and_this_from_environment(Bytecode::Interpreter&, DeprecatedFlyString const& name, u32 cache_index);
|
||||
ThrowCompletionOr<CalleeAndThis> get_callee_and_this_from_environment(Bytecode::Interpreter&, DeprecatedFlyString const& name, EnvironmentVariableCache&);
|
||||
Value new_regexp(VM&, ParsedRegex const&, DeprecatedString const& pattern, DeprecatedString const& flags);
|
||||
MarkedVector<Value> argument_list_evaluation(VM&, Value arguments);
|
||||
ThrowCompletionOr<void> create_variable(VM&, DeprecatedFlyString const& name, Op::EnvironmentMode, bool is_global, bool is_immutable, bool is_strict);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue