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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/ia32/codegen-ia32.h ('k') | src/ia32/macro-assembler-ia32.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 30 matching lines...) Expand all
41 class JumpTarget; 41 class JumpTarget;
42 42
43 // MacroAssembler implements a collection of frequently used macros. 43 // MacroAssembler implements a collection of frequently used macros.
44 class MacroAssembler: public Assembler { 44 class MacroAssembler: public Assembler {
45 public: 45 public:
46 MacroAssembler(void* buffer, int size); 46 MacroAssembler(void* buffer, int size);
47 47
48 // --------------------------------------------------------------------------- 48 // ---------------------------------------------------------------------------
49 // GC Support 49 // GC Support
50 50
51 51 // Set the remebered set bit for an address which points into an
52 // object. RecordWriteHelper only works if the object is not in new
53 // space.
52 void RecordWriteHelper(Register object, 54 void RecordWriteHelper(Register object,
53 Register addr, 55 Register addr,
54 Register scratch); 56 Register scratch);
55 57
56 // Check if object is in new space. 58 // Check if object is in new space.
57 // scratch can be object itself, but it will be clobbered. 59 // scratch can be object itself, but it will be clobbered.
58 void InNewSpace(Register object, 60 void InNewSpace(Register object,
59 Register scratch, 61 Register scratch,
60 Condition cc, // equal for new space, not_equal otherwise. 62 Condition cc, // equal for new space, not_equal otherwise.
61 Label* branch); 63 Label* branch);
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 } \ 585 } \
584 masm-> 586 masm->
585 #else 587 #else
586 #define ACCESS_MASM(masm) masm-> 588 #define ACCESS_MASM(masm) masm->
587 #endif 589 #endif
588 590
589 591
590 } } // namespace v8::internal 592 } } // namespace v8::internal
591 593
592 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 594 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698