| 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 792 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 803   void CmpObject(Register reg, Handle<Object> object) { | 803   void CmpObject(Register reg, Handle<Object> object) { | 
| 804     AllowDeferredHandleDereference heap_object_check; | 804     AllowDeferredHandleDereference heap_object_check; | 
| 805     if (object->IsHeapObject()) { | 805     if (object->IsHeapObject()) { | 
| 806       CmpHeapObject(reg, Handle<HeapObject>::cast(object)); | 806       CmpHeapObject(reg, Handle<HeapObject>::cast(object)); | 
| 807     } else { | 807     } else { | 
| 808       Cmp(reg, object); | 808       Cmp(reg, object); | 
| 809     } | 809     } | 
| 810   } | 810   } | 
| 811 | 811 | 
| 812   // Load a global cell into a register. | 812   // Load a global cell into a register. | 
| 813   void LoadGlobalCell(Register dst, Handle<JSGlobalPropertyCell> cell); | 813   void LoadGlobalCell(Register dst, Handle<Cell> cell); | 
| 814 | 814 | 
| 815   // Emit code to discard a non-negative number of pointer-sized elements | 815   // Emit code to discard a non-negative number of pointer-sized elements | 
| 816   // from the stack, clobbering only the rsp register. | 816   // from the stack, clobbering only the rsp register. | 
| 817   void Drop(int stack_elements); | 817   void Drop(int stack_elements); | 
| 818 | 818 | 
| 819   void Call(Label* target) { call(target); } | 819   void Call(Label* target) { call(target); } | 
| 820 | 820 | 
| 821   // Control Flow | 821   // Control Flow | 
| 822   void Jump(Address destination, RelocInfo::Mode rmode); | 822   void Jump(Address destination, RelocInfo::Mode rmode); | 
| 823   void Jump(ExternalReference ext); | 823   void Jump(ExternalReference ext); | 
| (...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1527     masm->popfq();                                                           \ | 1527     masm->popfq();                                                           \ | 
| 1528   }                                                                          \ | 1528   }                                                                          \ | 
| 1529   masm-> | 1529   masm-> | 
| 1530 #else | 1530 #else | 
| 1531 #define ACCESS_MASM(masm) masm-> | 1531 #define ACCESS_MASM(masm) masm-> | 
| 1532 #endif | 1532 #endif | 
| 1533 | 1533 | 
| 1534 } }  // namespace v8::internal | 1534 } }  // namespace v8::internal | 
| 1535 | 1535 | 
| 1536 #endif  // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1536 #endif  // V8_X64_MACRO_ASSEMBLER_X64_H_ | 
| OLD | NEW | 
|---|