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

Unified Diff: src/ic.h

Issue 201313002: Fix ASSERT violation when BinaryOpIC::Transition recurses into itself (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: refactored Created 6 years, 9 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.h
diff --git a/src/ic.h b/src/ic.h
index 7a9d7fbb5390929f7fa42388ad866ce1077fe44d..7d3547134fccfa1372f32c4096b9cb6ff899de1e 100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -247,6 +247,11 @@ class IC {
extra_ic_state_ = state;
}
+ protected:
+ void UpdateTarget() {
+ target_ = handle(raw_target(), isolate_);
+ }
+
private:
Code* raw_target() const {
return GetTargetAtAddress(address(), constant_pool());
« no previous file with comments | « no previous file | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698