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

Unified Diff: test/mjsunit/call-counts.js

Issue 1217943004: Vector ICs: Introduce an InstanceType for the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Improved printer. Created 5 years, 6 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: test/mjsunit/call-counts.js
diff --git a/test/mjsunit/call-counts.js b/test/mjsunit/call-counts.js
index 628d2251e2b0210b507370fc61675b4afa234e1c..e2acc08de1ee2b8479998666849cdd9553d6e879 100644
--- a/test/mjsunit/call-counts.js
+++ b/test/mjsunit/call-counts.js
@@ -12,7 +12,7 @@ const kArrayCallExtraIndex = 9;
function GetCallCount(func, slot) {
var vector = %GetTypeFeedbackVector(func);
// Call counts are recorded doubled.
- var value = %FixedArrayGet(vector, slot);
+ var value = %FeedbackVectorGet(vector, slot);
return Math.floor(value / 2);
}

Powered by Google App Engine
This is Rietveld 408576698