OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 7257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7268 MemOperand(scratch1, key, LSL, | 7268 MemOperand(scratch1, key, LSL, |
7269 kPointerSizeLog2 - (kSmiTagSize + kSmiShiftSize))); | 7269 kPointerSizeLog2 - (kSmiTagSize + kSmiShiftSize))); |
7270 | 7270 |
7271 // Make sure that the expected number of instructions are generated. | 7271 // Make sure that the expected number of instructions are generated. |
7272 ASSERT_EQ(kInlinedKeyedStoreInstructionsAfterPatch, | 7272 ASSERT_EQ(kInlinedKeyedStoreInstructionsAfterPatch, |
7273 masm_->InstructionsGeneratedSince(&check_inlined_codesize)); | 7273 masm_->InstructionsGeneratedSince(&check_inlined_codesize)); |
7274 } | 7274 } |
7275 | 7275 |
7276 ASSERT(we_remembered_the_write_barrier); | 7276 ASSERT(we_remembered_the_write_barrier); |
7277 | 7277 |
| 7278 // Make sure that r0 holds the value which is the result of the expression. |
| 7279 __ Move(r0, value); |
| 7280 |
7278 deferred->BindExit(); | 7281 deferred->BindExit(); |
7279 } else { | 7282 } else { |
7280 frame()->CallKeyedStoreIC(); | 7283 frame()->CallKeyedStoreIC(); |
7281 } | 7284 } |
7282 } | 7285 } |
7283 | 7286 |
7284 | 7287 |
7285 #ifdef DEBUG | 7288 #ifdef DEBUG |
7286 bool CodeGenerator::HasValidEntryRegisters() { return true; } | 7289 bool CodeGenerator::HasValidEntryRegisters() { return true; } |
7287 #endif | 7290 #endif |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7438 BinaryOpIC::GetName(runtime_operands_type_)); | 7441 BinaryOpIC::GetName(runtime_operands_type_)); |
7439 return name_; | 7442 return name_; |
7440 } | 7443 } |
7441 | 7444 |
7442 | 7445 |
7443 #undef __ | 7446 #undef __ |
7444 | 7447 |
7445 } } // namespace v8::internal | 7448 } } // namespace v8::internal |
7446 | 7449 |
7447 #endif // V8_TARGET_ARCH_ARM | 7450 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |