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

Side by Side Diff: src/ia32/codegen-ia32.cc

Issue 3609008: Make lint happy. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 JumpTarget::set_compiling_deferred_code(false); 184 JumpTarget::set_compiling_deferred_code(false);
185 185
186 #ifdef DEBUG 186 #ifdef DEBUG
187 if (strlen(FLAG_stop_at) > 0 && 187 if (strlen(FLAG_stop_at) > 0 &&
188 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) { 188 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
189 frame_->SpillAll(); 189 frame_->SpillAll();
190 __ int3(); 190 __ int3();
191 } 191 }
192 #endif 192 #endif
193 193
194 { 194 { // NOLINT
Mads Ager (chromium) 2010/10/05 08:38:22 I'd rather that we move the CodeGenState declarati
195 CodeGenState state(this); 195 CodeGenState state(this);
196 // Entry: 196 // Entry:
197 // Stack: receiver, arguments, return address. 197 // Stack: receiver, arguments, return address.
198 // ebp: caller's frame pointer 198 // ebp: caller's frame pointer
199 // esp: stack pointer 199 // esp: stack pointer
200 // edi: called JS function 200 // edi: called JS function
201 // esi: callee's context 201 // esi: callee's context
202 allocator_->Initialize(); 202 allocator_->Initialize();
203 203
204 frame_->Enter(); 204 frame_->Enter();
(...skipping 9931 matching lines...) Expand 10 before | Expand all | Expand 10 after
10136 masm.GetCode(&desc); 10136 masm.GetCode(&desc);
10137 // Call the function from C++. 10137 // Call the function from C++.
10138 return FUNCTION_CAST<MemCopyFunction>(buffer); 10138 return FUNCTION_CAST<MemCopyFunction>(buffer);
10139 } 10139 }
10140 10140
10141 #undef __ 10141 #undef __
10142 10142
10143 } } // namespace v8::internal 10143 } } // namespace v8::internal
10144 10144
10145 #endif // V8_TARGET_ARCH_IA32 10145 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698