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

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

Issue 5781004: Align builtins-{arch}.cc on ia32 and x64 platforms by moving functions and ed... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 765
766 // Picks out an array index from the hash field. 766 // Picks out an array index from the hash field.
767 // Register use: 767 // Register use:
768 // hash - holds the index's hash. Clobbered. 768 // hash - holds the index's hash. Clobbered.
769 // index - holds the overwritten index on exit. 769 // index - holds the overwritten index on exit.
770 void IndexFromHash(Register hash, Register index); 770 void IndexFromHash(Register hash, Register index);
771 771
772 // Find the function context up the context chain. 772 // Find the function context up the context chain.
773 void LoadContext(Register dst, int context_chain_length); 773 void LoadContext(Register dst, int context_chain_length);
774 774
775 // Load the global function with the given index.
776 void LoadGlobalFunction(int index, Register function);
777
778 // Load the initial map from the global function. The registers
779 // function and map can be the same.
780 void LoadGlobalFunctionInitialMap(Register function, Register map);
781
775 // --------------------------------------------------------------------------- 782 // ---------------------------------------------------------------------------
776 // Runtime calls 783 // Runtime calls
777 784
778 // Call a code stub. 785 // Call a code stub.
779 void CallStub(CodeStub* stub); 786 void CallStub(CodeStub* stub);
780 787
781 // Call a code stub and return the code object called. Try to generate 788 // Call a code stub and return the code object called. Try to generate
782 // the code if necessary. Do not perform a GC but instead return a retry 789 // the code if necessary. Do not perform a GC but instead return a retry
783 // after GC failure. 790 // after GC failure.
784 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); 791 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub);
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 Jump(adaptor, RelocInfo::CODE_TARGET); 1746 Jump(adaptor, RelocInfo::CODE_TARGET);
1740 } 1747 }
1741 bind(&invoke); 1748 bind(&invoke);
1742 } 1749 }
1743 } 1750 }
1744 1751
1745 1752
1746 } } // namespace v8::internal 1753 } } // namespace v8::internal
1747 1754
1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1755 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698