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

Unified Diff: src/ic/ic.h

Issue 1152243002: Do not patch IC in deoptimized code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index 9eea509ec7723515a4bfa2bf91d23b4d4f6eb7fd..b63e7c727b438c6500a0b200bcf8e7d1f25c0be9 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -134,7 +134,9 @@ class IC {
Code* GetOriginalCode() const;
bool AddressIsOptimizedCode() const;
- bool AddressIsDeoptimizedCode() const;
+ inline bool AddressIsDeoptimizedCode() const;
+ inline static bool AddressIsDeoptimizedCode(Isolate* isolate,
+ Address address);
// Set the call-site target.
inline void set_target(Code* code);
@@ -252,6 +254,8 @@ class IC {
inline Code* get_host();
+ inline static bool CheckForLazyDeopt(Isolate* isolate, Address address);
Jakob Kummerow 2015/05/22 16:18:24 unused?
+
private:
inline Code* raw_target() const;
inline ConstantPoolArray* constant_pool() const;
« no previous file with comments | « no previous file | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698