mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:29:47 +00:00
[vm] Remove Script::compile_time_constants_.
Dead since 5cce1e4acd
.
TEST=ci
Change-Id: I50e8bc9eea9625120c5038b29deb6b2ee33dd6c0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202306
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
parent
b13e2c4a51
commit
815fc81d24
|
@ -527,7 +527,7 @@ static constexpr dart::compiler::target::word PcDescriptors_HeaderSize = 8;
|
|||
static constexpr dart::compiler::target::word Pointer_InstanceSize = 12;
|
||||
static constexpr dart::compiler::target::word ReceivePort_InstanceSize = 20;
|
||||
static constexpr dart::compiler::target::word RegExp_InstanceSize = 60;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 56;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 48;
|
||||
static constexpr dart::compiler::target::word SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word SingleTargetCache_InstanceSize =
|
||||
16;
|
||||
|
@ -1072,7 +1072,7 @@ static constexpr dart::compiler::target::word PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word ReceivePort_InstanceSize = 40;
|
||||
static constexpr dart::compiler::target::word RegExp_InstanceSize = 120;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 96;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word SingleTargetCache_InstanceSize =
|
||||
32;
|
||||
|
@ -1607,7 +1607,7 @@ static constexpr dart::compiler::target::word PcDescriptors_HeaderSize = 8;
|
|||
static constexpr dart::compiler::target::word Pointer_InstanceSize = 12;
|
||||
static constexpr dart::compiler::target::word ReceivePort_InstanceSize = 20;
|
||||
static constexpr dart::compiler::target::word RegExp_InstanceSize = 60;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 56;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 48;
|
||||
static constexpr dart::compiler::target::word SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word SingleTargetCache_InstanceSize =
|
||||
16;
|
||||
|
@ -2153,7 +2153,7 @@ static constexpr dart::compiler::target::word PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word ReceivePort_InstanceSize = 40;
|
||||
static constexpr dart::compiler::target::word RegExp_InstanceSize = 120;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 96;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word SingleTargetCache_InstanceSize =
|
||||
32;
|
||||
|
@ -2697,7 +2697,7 @@ static constexpr dart::compiler::target::word PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word ReceivePort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word RegExp_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 64;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 56;
|
||||
static constexpr dart::compiler::target::word SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word SingleTargetCache_InstanceSize =
|
||||
32;
|
||||
|
@ -3242,7 +3242,7 @@ static constexpr dart::compiler::target::word PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word ReceivePort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word RegExp_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 64;
|
||||
static constexpr dart::compiler::target::word Script_InstanceSize = 56;
|
||||
static constexpr dart::compiler::target::word SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word SingleTargetCache_InstanceSize =
|
||||
32;
|
||||
|
@ -7062,7 +7062,7 @@ static constexpr dart::compiler::target::word AOT_PcDescriptors_HeaderSize = 8;
|
|||
static constexpr dart::compiler::target::word AOT_Pointer_InstanceSize = 12;
|
||||
static constexpr dart::compiler::target::word AOT_ReceivePort_InstanceSize = 20;
|
||||
static constexpr dart::compiler::target::word AOT_RegExp_InstanceSize = 60;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 48;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 40;
|
||||
static constexpr dart::compiler::target::word AOT_SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word
|
||||
AOT_SingleTargetCache_InstanceSize = 16;
|
||||
|
@ -7669,7 +7669,7 @@ static constexpr dart::compiler::target::word AOT_PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word AOT_Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word AOT_ReceivePort_InstanceSize = 40;
|
||||
static constexpr dart::compiler::target::word AOT_RegExp_InstanceSize = 120;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 72;
|
||||
static constexpr dart::compiler::target::word AOT_SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word
|
||||
AOT_SingleTargetCache_InstanceSize = 32;
|
||||
|
@ -8280,7 +8280,7 @@ static constexpr dart::compiler::target::word AOT_PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word AOT_Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word AOT_ReceivePort_InstanceSize = 40;
|
||||
static constexpr dart::compiler::target::word AOT_RegExp_InstanceSize = 120;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 72;
|
||||
static constexpr dart::compiler::target::word AOT_SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word
|
||||
AOT_SingleTargetCache_InstanceSize = 32;
|
||||
|
@ -10093,7 +10093,7 @@ static constexpr dart::compiler::target::word AOT_PcDescriptors_HeaderSize = 8;
|
|||
static constexpr dart::compiler::target::word AOT_Pointer_InstanceSize = 12;
|
||||
static constexpr dart::compiler::target::word AOT_ReceivePort_InstanceSize = 12;
|
||||
static constexpr dart::compiler::target::word AOT_RegExp_InstanceSize = 60;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 48;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 40;
|
||||
static constexpr dart::compiler::target::word AOT_SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word
|
||||
AOT_SingleTargetCache_InstanceSize = 16;
|
||||
|
@ -10693,7 +10693,7 @@ static constexpr dart::compiler::target::word AOT_PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word AOT_Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word AOT_ReceivePort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word AOT_RegExp_InstanceSize = 120;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 72;
|
||||
static constexpr dart::compiler::target::word AOT_SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word
|
||||
AOT_SingleTargetCache_InstanceSize = 32;
|
||||
|
@ -11297,7 +11297,7 @@ static constexpr dart::compiler::target::word AOT_PcDescriptors_HeaderSize = 16;
|
|||
static constexpr dart::compiler::target::word AOT_Pointer_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word AOT_ReceivePort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word AOT_RegExp_InstanceSize = 120;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 80;
|
||||
static constexpr dart::compiler::target::word AOT_Script_InstanceSize = 72;
|
||||
static constexpr dart::compiler::target::word AOT_SendPort_InstanceSize = 24;
|
||||
static constexpr dart::compiler::target::word
|
||||
AOT_SingleTargetCache_InstanceSize = 32;
|
||||
|
|
|
@ -11603,10 +11603,6 @@ void Script::LoadSourceFromKernel(const uint8_t* kernel_buffer,
|
|||
}
|
||||
#endif // !defined(DART_PRECOMPILED_RUNTIME)
|
||||
|
||||
void Script::set_compile_time_constants(const Array& value) const {
|
||||
untag()->set_compile_time_constants(value.ptr());
|
||||
}
|
||||
|
||||
void Script::set_kernel_program_info(const KernelProgramInfo& info) const {
|
||||
untag()->set_kernel_program_info(info.ptr());
|
||||
}
|
||||
|
|
|
@ -4464,11 +4464,6 @@ class Script : public Object {
|
|||
// The load time in milliseconds since epoch.
|
||||
int64_t load_timestamp() const { return untag()->load_timestamp_; }
|
||||
|
||||
ArrayPtr compile_time_constants() const {
|
||||
return untag()->compile_time_constants();
|
||||
}
|
||||
void set_compile_time_constants(const Array& value) const;
|
||||
|
||||
KernelProgramInfoPtr kernel_program_info() const {
|
||||
return untag()->kernel_program_info();
|
||||
}
|
||||
|
|
|
@ -1567,7 +1567,6 @@ class alignas(8) UntaggedScript : public UntaggedObject {
|
|||
COMPRESSED_POINTER_FIELD(StringPtr, url)
|
||||
VISIT_FROM(url)
|
||||
COMPRESSED_POINTER_FIELD(StringPtr, resolved_url)
|
||||
COMPRESSED_POINTER_FIELD(ArrayPtr, compile_time_constants)
|
||||
COMPRESSED_POINTER_FIELD(TypedDataPtr, line_starts)
|
||||
#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
||||
COMPRESSED_POINTER_FIELD(ExternalTypedDataPtr, constant_coverage)
|
||||
|
@ -1597,6 +1596,14 @@ class alignas(8) UntaggedScript : public UntaggedObject {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
||||
int64_t load_timestamp_;
|
||||
int32_t kernel_script_index_;
|
||||
#else
|
||||
int32_t kernel_script_index_;
|
||||
int64_t load_timestamp_;
|
||||
#endif
|
||||
|
||||
#if !defined(DART_PRECOMPILED_RUNTIME)
|
||||
int32_t flags_and_max_position_;
|
||||
|
||||
|
@ -1614,14 +1621,6 @@ class alignas(8) UntaggedScript : public UntaggedObject {
|
|||
|
||||
private:
|
||||
#endif
|
||||
|
||||
#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
||||
int64_t load_timestamp_;
|
||||
int32_t kernel_script_index_;
|
||||
#else
|
||||
int32_t kernel_script_index_;
|
||||
int64_t load_timestamp_;
|
||||
#endif
|
||||
};
|
||||
|
||||
class UntaggedLibrary : public UntaggedObject {
|
||||
|
|
|
@ -43,7 +43,6 @@ namespace dart {
|
|||
F(Field, host_offset_or_field_id_) \
|
||||
F(Script, url_) \
|
||||
F(Script, resolved_url_) \
|
||||
F(Script, compile_time_constants_) \
|
||||
F(Script, line_starts_) \
|
||||
F(Script, debug_positions_) \
|
||||
F(Script, kernel_program_info_) \
|
||||
|
|
Loading…
Reference in a new issue