| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 4667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4678 Handle<Code> ic = (instr->strict_mode_flag() == kStrictMode) | 4678 Handle<Code> ic = (instr->strict_mode_flag() == kStrictMode) |
| 4679 ? isolate()->builtins()->KeyedStoreIC_Initialize_Strict() | 4679 ? isolate()->builtins()->KeyedStoreIC_Initialize_Strict() |
| 4680 : isolate()->builtins()->KeyedStoreIC_Initialize(); | 4680 : isolate()->builtins()->KeyedStoreIC_Initialize(); |
| 4681 CallCode(ic, RelocInfo::CODE_TARGET, instr); | 4681 CallCode(ic, RelocInfo::CODE_TARGET, instr); |
| 4682 } | 4682 } |
| 4683 | 4683 |
| 4684 | 4684 |
| 4685 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { | 4685 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { |
| 4686 Register object = ToRegister(instr->object()); | 4686 Register object = ToRegister(instr->object()); |
| 4687 Register temp = ToRegister(instr->temp()); | 4687 Register temp = ToRegister(instr->temp()); |
| 4688 __ TestJSArrayForAllocationSiteInfo(object, temp); | 4688 __ TestJSArrayForAllocationMemento(object, temp); |
| 4689 DeoptimizeIf(equal, instr->environment()); | 4689 DeoptimizeIf(equal, instr->environment()); |
| 4690 } | 4690 } |
| 4691 | 4691 |
| 4692 | 4692 |
| 4693 void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { | 4693 void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
| 4694 Register object_reg = ToRegister(instr->object()); | 4694 Register object_reg = ToRegister(instr->object()); |
| 4695 | 4695 |
| 4696 Handle<Map> from_map = instr->original_map(); | 4696 Handle<Map> from_map = instr->original_map(); |
| 4697 Handle<Map> to_map = instr->transitioned_map(); | 4697 Handle<Map> to_map = instr->transitioned_map(); |
| 4698 ElementsKind from_kind = instr->from_kind(); | 4698 ElementsKind from_kind = instr->from_kind(); |
| (...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6484 FixedArray::kHeaderSize - kPointerSize)); | 6484 FixedArray::kHeaderSize - kPointerSize)); |
| 6485 __ bind(&done); | 6485 __ bind(&done); |
| 6486 } | 6486 } |
| 6487 | 6487 |
| 6488 | 6488 |
| 6489 #undef __ | 6489 #undef __ |
| 6490 | 6490 |
| 6491 } } // namespace v8::internal | 6491 } } // namespace v8::internal |
| 6492 | 6492 |
| 6493 #endif // V8_TARGET_ARCH_IA32 | 6493 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |