Chromium Code Reviews| Index: src/arm/code-stubs-arm.cc |
| diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
| index ee6eb97714217aab7672e66f02d05d65caa022af..140a2abc1ac1542f1cbcd945bcb3271b89e214da 100644 |
| --- a/src/arm/code-stubs-arm.cc |
| +++ b/src/arm/code-stubs-arm.cc |
| @@ -4689,12 +4689,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
| // Special handling of the Array() function, which caches not only the |
| // monomorphic Array function but the initial ElementsKind with special |
| // sentinels |
| - Handle<Object> terminal_kind_sentinel = |
| - TypeFeedbackCells::MonomorphicArraySentinel(masm->isolate(), |
| - LAST_FAST_ELEMENTS_KIND); |
| __ JumpIfNotSmi(r3, &miss); |
| - __ cmp(r3, Operand(terminal_kind_sentinel)); |
|
danno
2013/06/13 15:19:44
How about you turn this into:
if (FLAG_debug_co
|
| - __ b(gt, &miss); |
| // Make sure the function is the Array() function |
| __ LoadArrayFunction(r3); |
| __ cmp(r1, r3); |