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

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

Issue 251041: Add pixel array handling in keyed IC's for x64 version. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ScaleFactor scale; 49 ScaleFactor scale;
50 }; 50 };
51 51
52 // MacroAssembler implements a collection of frequently used macros. 52 // MacroAssembler implements a collection of frequently used macros.
53 class MacroAssembler: public Assembler { 53 class MacroAssembler: public Assembler {
54 public: 54 public:
55 MacroAssembler(void* buffer, int size); 55 MacroAssembler(void* buffer, int size);
56 56
57 void LoadRoot(Register destination, Heap::RootListIndex index); 57 void LoadRoot(Register destination, Heap::RootListIndex index);
58 void CompareRoot(Register with, Heap::RootListIndex index); 58 void CompareRoot(Register with, Heap::RootListIndex index);
59 void CompareRoot(Operand with, Heap::RootListIndex index);
59 void PushRoot(Heap::RootListIndex index); 60 void PushRoot(Heap::RootListIndex index);
60 61
61 // --------------------------------------------------------------------------- 62 // ---------------------------------------------------------------------------
62 // GC Support 63 // GC Support
63 64
64 // Set the remembered set bit for [object+offset]. 65 // Set the remembered set bit for [object+offset].
65 // object is the object being stored into, value is the object being stored. 66 // object is the object being stored into, value is the object being stored.
66 // If offset is zero, then the scratch register contains the array index into 67 // If offset is zero, then the scratch register contains the array index into
67 // the elements array represented as a Smi. 68 // the elements array represented as a Smi.
68 // All registers are clobbered by the operation. 69 // All registers are clobbered by the operation.
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 } \ 685 } \
685 masm-> 686 masm->
686 #else 687 #else
687 #define ACCESS_MASM(masm) masm-> 688 #define ACCESS_MASM(masm) masm->
688 #endif 689 #endif
689 690
690 691
691 } } // namespace v8::internal 692 } } // namespace v8::internal
692 693
693 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 694 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« src/x64/ic-x64.cc ('K') | « src/x64/ic-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698