Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 18f00097cdedd10fc3835d2f063bb3b4c7114fb3..b988e1a448dbb49ab24fdc7b9f307a01b1ebcbe6 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -305,7 +305,7 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) { |
// We shouldn't have deoptimization support. We want to recompile and |
// verify that our feedback vector preserves information. |
CHECK(!f->shared()->has_deoptimization_support()); |
- Handle<TypeFeedbackVector> feedback_vector(f->shared()->feedback_vector()); |
+ Handle<TypeFeedbackVector> feedback_vector(f->feedback_vector()); |
// Verify that we gathered feedback. |
CHECK(!feedback_vector->is_empty()); |
@@ -320,7 +320,7 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) { |
// of the full code. |
CHECK(f->IsOptimized()); |
CHECK(f->shared()->has_deoptimization_support()); |
- object = f->shared()->feedback_vector()->Get(slot_for_a); |
+ object = f->feedback_vector()->Get(slot_for_a); |
CHECK(object->IsWeakCell() && |
WeakCell::cast(object)->value()->IsJSFunction()); |
} |
@@ -355,13 +355,13 @@ TEST(FeedbackVectorUnaffectedByScopeChanges) { |
// If we are compiling lazily then it should not be compiled, and so no |
// feedback vector allocated yet. |
CHECK(!f->shared()->is_compiled()); |
- CHECK(f->shared()->feedback_vector()->is_empty()); |
+ CHECK(f->feedback_vector()->is_empty()); |
CompileRun("morphing_call();"); |
// Now a feedback vector is allocated. |
CHECK(f->shared()->is_compiled()); |
- CHECK(!f->shared()->feedback_vector()->is_empty()); |
+ CHECK(!f->feedback_vector()->is_empty()); |
} |
// Test that optimized code for different closures is actually shared. |