Reviewers: mvstanton,
Description:
[turbofan] Fix type feedback vector for stub compilation.
This makes sure that stubs never gets to see a type feedback vector,
which would be an empty fixed array anyways but takes whatever the
given CompilationInfo provides.
[email protected]
Please review this at https://codereview.chromium.org/1320623004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/compiler/ast-graph-builder.cc
Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc
b/src/compiler/ast-graph-builder.cc
index
12e121b5069474590509ccf22eea2773f1715fbd..f88bba7227ea59e1940c9316aa5abf9bde1e61f6
100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -3039,7 +3039,7 @@ LanguageMode AstGraphBuilder::language_mode() const {
VectorSlotPair AstGraphBuilder::CreateVectorSlotPair(
FeedbackVectorICSlot slot) const {
- return VectorSlotPair(handle(info()->shared_info()->feedback_vector()),
slot);
+ return VectorSlotPair(info()->feedback_vector(), slot);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.