| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved.7 | 1 // Copyright 2012 the V8 project authors. All rights reserved.7 |
| 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 5540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5551 __ bind(&out_of_object); | 5551 __ bind(&out_of_object); |
| 5552 __ lw(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); | 5552 __ lw(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); |
| 5553 // Index is equal to negated out of object property index plus 1. | 5553 // Index is equal to negated out of object property index plus 1. |
| 5554 __ Subu(scratch, result, scratch); | 5554 __ Subu(scratch, result, scratch); |
| 5555 __ lw(result, FieldMemOperand(scratch, | 5555 __ lw(result, FieldMemOperand(scratch, |
| 5556 FixedArray::kHeaderSize - kPointerSize)); | 5556 FixedArray::kHeaderSize - kPointerSize)); |
| 5557 __ bind(deferred->exit()); | 5557 __ bind(deferred->exit()); |
| 5558 __ bind(&done); | 5558 __ bind(&done); |
| 5559 } | 5559 } |
| 5560 | 5560 |
| 5561 | |
| 5562 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { | |
| 5563 Register context = ToRegister(instr->context()); | |
| 5564 __ sw(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); | |
| 5565 } | |
| 5566 | |
| 5567 | |
| 5568 #undef __ | 5561 #undef __ |
| 5569 | 5562 |
| 5570 } // namespace internal | 5563 } // namespace internal |
| 5571 } // namespace v8 | 5564 } // namespace v8 |
| OLD | NEW |