Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 33fd70246522ab2672621ef6aaf32f5d94b95820..436d1ab1a862bb76487e599b506f622a15cf660c 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -5130,13 +5130,12 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
// megamorphic. |
// r1 : the function to call |
// r2 : cache cell for call target |
- Isolate* isolate = masm->isolate(); |
Label done; |
- ASSERT_EQ(*TypeFeedbackCells::MegamorphicSentinel(isolate), |
- isolate->heap()->undefined_value()); |
- ASSERT_EQ(*TypeFeedbackCells::UninitializedSentinel(isolate), |
- isolate->heap()->the_hole_value()); |
+ ASSERT_EQ(*TypeFeedbackCells::MegamorphicSentinel(masm->isolate()), |
+ masm->isolate()->heap()->undefined_value()); |
+ ASSERT_EQ(*TypeFeedbackCells::UninitializedSentinel(masm->isolate()), |
+ masm->isolate()->heap()->the_hole_value()); |
// Load the cache state into r3. |
__ ldr(r3, FieldMemOperand(r2, JSGlobalPropertyCell::kValueOffset)); |