| OLD | NEW | 
|     1 // Copyright 2011 the V8 project authors. All rights reserved. |     1 // Copyright 2011 the V8 project authors. All rights reserved. | 
|     2 // Redistribution and use in source and binary forms, with or without |     2 // Redistribution and use in source and binary forms, with or without | 
|     3 // modification, are permitted provided that the following conditions are |     3 // modification, are permitted provided that the following conditions are | 
|     4 // met: |     4 // met: | 
|     5 // |     5 // | 
|     6 //     * Redistributions of source code must retain the above copyright |     6 //     * Redistributions of source code must retain the above copyright | 
|     7 //       notice, this list of conditions and the following disclaimer. |     7 //       notice, this list of conditions and the following disclaimer. | 
|     8 //     * Redistributions in binary form must reproduce the above |     8 //     * Redistributions in binary form must reproduce the above | 
|     9 //       copyright notice, this list of conditions and the following |     9 //       copyright notice, this list of conditions and the following | 
|    10 //       disclaimer in the documentation and/or other materials provided |    10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 3867 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3878       __ push(r0); |  3878       __ push(r0); | 
|  3879       EmitKeyedPropertyLoad(prop); |  3879       EmitKeyedPropertyLoad(prop); | 
|  3880     } |  3880     } | 
|  3881   } |  3881   } | 
|  3882  |  3882  | 
|  3883   // We need a second deoptimization point after loading the value |  3883   // We need a second deoptimization point after loading the value | 
|  3884   // in case evaluating the property load my have a side effect. |  3884   // in case evaluating the property load my have a side effect. | 
|  3885   if (assign_type == VARIABLE) { |  3885   if (assign_type == VARIABLE) { | 
|  3886     PrepareForBailout(expr->expression(), TOS_REG); |  3886     PrepareForBailout(expr->expression(), TOS_REG); | 
|  3887   } else { |  3887   } else { | 
|  3888     PrepareForBailout(expr->increment(), TOS_REG); |  3888     PrepareForBailoutForId(expr->CountId(), TOS_REG); | 
|  3889   } |  3889   } | 
|  3890  |  3890  | 
|  3891   // Call ToNumber only if operand is not a smi. |  3891   // Call ToNumber only if operand is not a smi. | 
|  3892   Label no_conversion; |  3892   Label no_conversion; | 
|  3893   __ JumpIfSmi(r0, &no_conversion); |  3893   __ JumpIfSmi(r0, &no_conversion); | 
|  3894   ToNumberStub convert_stub; |  3894   ToNumberStub convert_stub; | 
|  3895   __ CallStub(&convert_stub); |  3895   __ CallStub(&convert_stub); | 
|  3896   __ bind(&no_conversion); |  3896   __ bind(&no_conversion); | 
|  3897  |  3897  | 
|  3898   // Save result for postfix expressions. |  3898   // Save result for postfix expressions. | 
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  4365   __ mov(r1, Operand(r1, ASR, 1));  // Un-smi-tag value. |  4365   __ mov(r1, Operand(r1, ASR, 1));  // Un-smi-tag value. | 
|  4366   __ add(pc, r1, Operand(masm_->CodeObject())); |  4366   __ add(pc, r1, Operand(masm_->CodeObject())); | 
|  4367 } |  4367 } | 
|  4368  |  4368  | 
|  4369  |  4369  | 
|  4370 #undef __ |  4370 #undef __ | 
|  4371  |  4371  | 
|  4372 } }  // namespace v8::internal |  4372 } }  // namespace v8::internal | 
|  4373  |  4373  | 
|  4374 #endif  // V8_TARGET_ARCH_ARM |  4374 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW |