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

Unified Diff: runtime/vm/object.h

Issue 2562693003: Save and restore feedback from JIT. (Closed)
Patch Set: . Created 4 years 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 7b733490252acaf9a66238c67bbb3ebbf76547ac..f3a4d29266e3bb331e2381c53724bc3dbd8bf53f 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1506,7 +1506,7 @@ class Class : public Object {
friend class Object;
friend class Type;
friend class Intrinsifier;
- friend class Precompiler;
+ friend class ProgramVisitor;
};
@@ -1974,7 +1974,8 @@ class ICData : public Object {
// Adds one more class test to ICData. Length of 'classes' must be equal to
// the number of arguments tested. Use only for num_args_tested > 1.
void AddCheck(const GrowableArray<intptr_t>& class_ids,
- const Function& target) const;
+ const Function& target,
+ intptr_t count = 1) const;
// Adds sorted so that Smi is the first class-id. Use only for
// num_args_tested == 1.
void AddReceiverCheck(intptr_t receiver_class_id,
@@ -3547,6 +3548,9 @@ class Script : public Object {
TokenPosition* first_token_index,
TokenPosition* last_token_index) const;
+ int32_t SourceFingerprint() const;
+ int32_t SourceFingerprint(TokenPosition start, TokenPosition end) const;
+
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawScript));
}
@@ -6902,6 +6906,8 @@ class String : public Instance {
static RawString* ToLowerCase(const String& str,
Heap::Space space = Heap::kNew);
+ static RawString* RemovePrivateKey(const String& name);
+
static RawString* ScrubName(const String& name);
static RawString* ScrubNameRetainPrivate(const String& name);
« no previous file with comments | « runtime/vm/method_recognizer.h ('k') | runtime/vm/object.cc » ('j') | runtime/vm/precompiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698