Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: runtime/vm/raw_object.h

Issue 2901533002: [kernel] Stream everything. Replace .kernel_function with .kernel_offset (Closed)
Patch Set: Fixed assert issues; small refactorings. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 488739cfbf2f115848aa9a7b095500405043f7be..f583f16b72e1a98eb579e680887680583a45ccfd 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -850,7 +850,7 @@ class RawFunction : public RawObject {
uint32_t kind_tag_; // See Function::KindTagBits.
int16_t num_fixed_parameters_;
int16_t num_optional_parameters_; // > 0: positional; < 0: named.
- NOT_IN_PRECOMPILED(void* kernel_function_);
+ NOT_IN_PRECOMPILED(intptr_t kernel_offset_);
NOT_IN_PRECOMPILED(uint16_t optimized_instruction_count_);
NOT_IN_PRECOMPILED(uint16_t optimized_call_site_count_);
NOT_IN_PRECOMPILED(int8_t deoptimization_counter_);
@@ -962,7 +962,7 @@ class RawField : public RawObject {
int8_t guarded_list_length_in_object_offset_;
uint8_t kind_bits_; // static, final, const, has initializer....
- NOT_IN_PRECOMPILED(void* kernel_field_);
+ NOT_IN_PRECOMPILED(intptr_t kernel_offset_);
friend class CidRewriteVisitor;
};
@@ -1044,6 +1044,8 @@ class RawScript : public RawObject {
int32_t col_offset_;
int8_t kind_; // Of type Kind.
int64_t load_timestamp_;
+ const uint8_t* kernel_data_;
+ intptr_t kernel_data_size_;
};

Powered by Google App Engine
This is Rietveld 408576698