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

Unified Diff: src/compiler.cc

Issue 1370303004: Distinction between FeedbackVectorICSlot and FeedbackVectorSlot eliminated. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed release builds Created 5 years, 3 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 | « src/ast-numbering.cc ('k') | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 20aa558c3d1e316789bffdf343b37003ff088d87..ef8b8b1836d0201a29014e4cc4ebef810a94187d 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -249,8 +249,8 @@ bool CompilationInfo::ShouldSelfOptimize() {
void CompilationInfo::EnsureFeedbackVector() {
if (feedback_vector_.is_null()) {
- feedback_vector_ = isolate()->factory()->NewTypeFeedbackVector(
- literal()->feedback_vector_spec());
+ feedback_vector_ =
+ TypeFeedbackVector::New(isolate(), literal()->feedback_vector_spec());
}
// It's very important that recompiles do not alter the structure of the
« no previous file with comments | « src/ast-numbering.cc ('k') | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698