1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:57:34 +00:00

LibJS: Remove no-longer-needed environment record shape

We had a cached shape for environment records to make instantiating
them fast. Now that environment records don't inherit from JS::Object,
we can just get rid of this. :^)
This commit is contained in:
Andreas Kling 2021-06-23 13:08:40 +02:00
parent 9ccc2f6c4d
commit cf34313fad
2 changed files with 0 additions and 7 deletions

View file

@ -242,8 +242,6 @@ public:
CommonPropertyNames names;
Shape& environment_record_shape() { return *m_environment_record_shape; }
void run_queued_promise_jobs();
void enqueue_promise_job(NativeFunction&);
@ -288,8 +286,6 @@ private:
JS_ENUMERATE_WELL_KNOWN_SYMBOLS
#undef __JS_ENUMERATE
Shape* m_environment_record_shape { nullptr };
bool m_underscore_is_last_value { false };
u32 m_execution_generation { 0 };