Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(811)

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 8111006: Allow new-space JSFunction objects as constant-function properties. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 773
774 // Handle support 774 // Handle support
775 void Move(Register dst, Handle<Object> source); 775 void Move(Register dst, Handle<Object> source);
776 void Move(const Operand& dst, Handle<Object> source); 776 void Move(const Operand& dst, Handle<Object> source);
777 void Cmp(Register dst, Handle<Object> source); 777 void Cmp(Register dst, Handle<Object> source);
778 void Cmp(const Operand& dst, Handle<Object> source); 778 void Cmp(const Operand& dst, Handle<Object> source);
779 void Cmp(Register dst, Smi* src); 779 void Cmp(Register dst, Smi* src);
780 void Cmp(const Operand& dst, Smi* src); 780 void Cmp(const Operand& dst, Smi* src);
781 void Push(Handle<Object> source); 781 void Push(Handle<Object> source);
782 782
783 // Load a heap object and handle the case of new-space objects by
784 // indirecting via a global cell.
785 void LoadHeapObject(Register result, Handle<HeapObject> object);
786 void PushHeapObject(Handle<HeapObject> object);
787
788 // Load a global cell into a register.
789 void LoadGlobalCell(Register dst, Handle<JSGlobalPropertyCell> cell);
790
783 // Emit code to discard a non-negative number of pointer-sized elements 791 // Emit code to discard a non-negative number of pointer-sized elements
784 // from the stack, clobbering only the rsp register. 792 // from the stack, clobbering only the rsp register.
785 void Drop(int stack_elements); 793 void Drop(int stack_elements);
786 794
787 void Call(Label* target) { call(target); } 795 void Call(Label* target) { call(target); }
788 796
789 // Control Flow 797 // Control Flow
790 void Jump(Address destination, RelocInfo::Mode rmode); 798 void Jump(Address destination, RelocInfo::Mode rmode);
791 void Jump(ExternalReference ext); 799 void Jump(ExternalReference ext);
792 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); 800 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 masm->popfd(); \ 1450 masm->popfd(); \
1443 } \ 1451 } \
1444 masm-> 1452 masm->
1445 #else 1453 #else
1446 #define ACCESS_MASM(masm) masm-> 1454 #define ACCESS_MASM(masm) masm->
1447 #endif 1455 #endif
1448 1456
1449 } } // namespace v8::internal 1457 } } // namespace v8::internal
1450 1458
1451 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1459 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698