OLD | NEW |
---|---|
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
183 JumpTarget::set_compiling_deferred_code(false); | 183 JumpTarget::set_compiling_deferred_code(false); |
184 | 184 |
185 #ifdef DEBUG | 185 #ifdef DEBUG |
186 if (strlen(FLAG_stop_at) > 0 && | 186 if (strlen(FLAG_stop_at) > 0 && |
187 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) { | 187 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) { |
188 frame_->SpillAll(); | 188 frame_->SpillAll(); |
189 __ int3(); | 189 __ int3(); |
190 } | 190 } |
191 #endif | 191 #endif |
192 | 192 |
193 { | 193 { // NOLINT |
Mads Ager (chromium)
2010/10/05 08:38:22
Ditto.
| |
194 CodeGenState state(this); | 194 CodeGenState state(this); |
195 // Entry: | 195 // Entry: |
196 // Stack: receiver, arguments, return address. | 196 // Stack: receiver, arguments, return address. |
197 // rbp: caller's frame pointer | 197 // rbp: caller's frame pointer |
198 // rsp: stack pointer | 198 // rsp: stack pointer |
199 // rdi: called JS function | 199 // rdi: called JS function |
200 // rsi: callee's context | 200 // rsi: callee's context |
201 allocator_->Initialize(); | 201 allocator_->Initialize(); |
202 | 202 |
203 frame_->Enter(); | 203 frame_->Enter(); |
(...skipping 8719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8923 #undef __ | 8923 #undef __ |
8924 | 8924 |
8925 void RecordWriteStub::Generate(MacroAssembler* masm) { | 8925 void RecordWriteStub::Generate(MacroAssembler* masm) { |
8926 masm->RecordWriteHelper(object_, addr_, scratch_); | 8926 masm->RecordWriteHelper(object_, addr_, scratch_); |
8927 masm->ret(0); | 8927 masm->ret(0); |
8928 } | 8928 } |
8929 | 8929 |
8930 } } // namespace v8::internal | 8930 } } // namespace v8::internal |
8931 | 8931 |
8932 #endif // V8_TARGET_ARCH_X64 | 8932 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |