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

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

Issue 2274001: Revert r4715. (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/ic-ia32.cc ('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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class JumpTarget; 52 class JumpTarget;
53 53
54 // MacroAssembler implements a collection of frequently used macros. 54 // MacroAssembler implements a collection of frequently used macros.
55 class MacroAssembler: public Assembler { 55 class MacroAssembler: public Assembler {
56 public: 56 public:
57 MacroAssembler(void* buffer, int size); 57 MacroAssembler(void* buffer, int size);
58 58
59 // --------------------------------------------------------------------------- 59 // ---------------------------------------------------------------------------
60 // GC Support 60 // GC Support
61 61
62 // For page containing |object| mark region covering |addr| dirty. 62 // Set the remebered set bit for an address which points into an
63 // RecordWriteHelper only works if the object is not in new 63 // object. RecordWriteHelper only works if the object is not in new
64 // space. 64 // space.
65 void RecordWriteHelper(Register object, 65 void RecordWriteHelper(Register object,
66 Register addr, 66 Register addr,
67 Register scratch); 67 Register scratch);
68 68
69 // Check if object is in new space. 69 // Check if object is in new space.
70 // scratch can be object itself, but it will be clobbered. 70 // scratch can be object itself, but it will be clobbered.
71 void InNewSpace(Register object, 71 void InNewSpace(Register object,
72 Register scratch, 72 Register scratch,
73 Condition cc, // equal for new space, not_equal otherwise. 73 Condition cc, // equal for new space, not_equal otherwise.
74 Label* branch); 74 Label* branch);
75 75
76 // For page containing |object| mark region covering [object+offset] dirty. 76 // Set the remembered set bit for [object+offset].
77 // object is the object being stored into, value is the object being stored. 77 // object is the object being stored into, value is the object being stored.
78 // If offset is zero, then the scratch register contains the array index into 78 // If offset is zero, then the scratch register contains the array index into
79 // the elements array represented as a Smi. 79 // the elements array represented as a Smi.
80 // All registers are clobbered by the operation. 80 // All registers are clobbered by the operation.
81 void RecordWrite(Register object, 81 void RecordWrite(Register object,
82 int offset, 82 int offset,
83 Register value, 83 Register value,
84 Register scratch); 84 Register scratch);
85 85
86 #ifdef ENABLE_DEBUGGER_SUPPORT 86 #ifdef ENABLE_DEBUGGER_SUPPORT
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 } \ 596 } \
597 masm-> 597 masm->
598 #else 598 #else
599 #define ACCESS_MASM(masm) masm-> 599 #define ACCESS_MASM(masm) masm->
600 #endif 600 #endif
601 601
602 602
603 } } // namespace v8::internal 603 } } // namespace v8::internal
604 604
605 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 605 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698