| OLD | NEW | 
|---|
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 30 matching lines...) Expand all  Loading... | 
| 41 class JumpTarget; | 41 class JumpTarget; | 
| 42 | 42 | 
| 43 // MacroAssembler implements a collection of frequently used macros. | 43 // MacroAssembler implements a collection of frequently used macros. | 
| 44 class MacroAssembler: public Assembler { | 44 class MacroAssembler: public Assembler { | 
| 45  public: | 45  public: | 
| 46   MacroAssembler(void* buffer, int size); | 46   MacroAssembler(void* buffer, int size); | 
| 47 | 47 | 
| 48   // --------------------------------------------------------------------------- | 48   // --------------------------------------------------------------------------- | 
| 49   // GC Support | 49   // GC Support | 
| 50 | 50 | 
| 51 | 51   // Set the remebered set bit for an address which points into an | 
|  | 52   // object. RecordWriteHelper only works if the object is not in new | 
|  | 53   // space. | 
| 52   void RecordWriteHelper(Register object, | 54   void RecordWriteHelper(Register object, | 
| 53                          Register addr, | 55                          Register addr, | 
| 54                          Register scratch); | 56                          Register scratch); | 
| 55 | 57 | 
| 56   // Check if object is in new space. | 58   // Check if object is in new space. | 
| 57   // scratch can be object itself, but it will be clobbered. | 59   // scratch can be object itself, but it will be clobbered. | 
| 58   void InNewSpace(Register object, | 60   void InNewSpace(Register object, | 
| 59                   Register scratch, | 61                   Register scratch, | 
| 60                   Condition cc,  // equal for new space, not_equal otherwise. | 62                   Condition cc,  // equal for new space, not_equal otherwise. | 
| 61                   Label* branch); | 63                   Label* branch); | 
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 583   }                                                                       \ | 585   }                                                                       \ | 
| 584   masm-> | 586   masm-> | 
| 585 #else | 587 #else | 
| 586 #define ACCESS_MASM(masm) masm-> | 588 #define ACCESS_MASM(masm) masm-> | 
| 587 #endif | 589 #endif | 
| 588 | 590 | 
| 589 | 591 | 
| 590 } }  // namespace v8::internal | 592 } }  // namespace v8::internal | 
| 591 | 593 | 
| 592 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 594 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 
| OLD | NEW | 
|---|