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

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

Issue 1944001: Port inline swapping of elements for the sort function in array.js... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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
« no previous file with comments | « src/x64/codegen-x64.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 MacroAssembler(void* buffer, int size); 59 MacroAssembler(void* buffer, int size);
60 60
61 void LoadRoot(Register destination, Heap::RootListIndex index); 61 void LoadRoot(Register destination, Heap::RootListIndex index);
62 void CompareRoot(Register with, Heap::RootListIndex index); 62 void CompareRoot(Register with, Heap::RootListIndex index);
63 void CompareRoot(Operand with, Heap::RootListIndex index); 63 void CompareRoot(Operand with, Heap::RootListIndex index);
64 void PushRoot(Heap::RootListIndex index); 64 void PushRoot(Heap::RootListIndex index);
65 65
66 // --------------------------------------------------------------------------- 66 // ---------------------------------------------------------------------------
67 // GC Support 67 // GC Support
68 68
69 // Set the remebered set bit for an address which points into an
70 // object. RecordWriteHelper only works if the object is not in new
71 // space.
69 void RecordWriteHelper(Register object, 72 void RecordWriteHelper(Register object,
70 Register addr, 73 Register addr,
71 Register scratch); 74 Register scratch);
72 75
73 // Check if object is in new space. The condition cc can be equal or 76 // Check if object is in new space. The condition cc can be equal or
74 // not_equal. If it is equal a jump will be done if the object is on new 77 // not_equal. If it is equal a jump will be done if the object is on new
75 // space. The register scratch can be object itself, but it will be clobbered. 78 // space. The register scratch can be object itself, but it will be clobbered.
76 void InNewSpace(Register object, 79 void InNewSpace(Register object,
77 Register scratch, 80 Register scratch,
78 Condition cc, 81 Condition cc,
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 } \ 856 } \
854 masm-> 857 masm->
855 #else 858 #else
856 #define ACCESS_MASM(masm) masm-> 859 #define ACCESS_MASM(masm) masm->
857 #endif 860 #endif
858 861
859 862
860 } } // namespace v8::internal 863 } } // namespace v8::internal
861 864
862 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 865 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698