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

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

Issue 1766005: Minor formatting changes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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.cc ('k') | no next file » | no next file with comments »
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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 #ifdef DEBUG 298 #ifdef DEBUG
299 if (strlen(FLAG_stop_at) > 0 && 299 if (strlen(FLAG_stop_at) > 0 &&
300 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) { 300 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
301 frame_->SpillAll(); 301 frame_->SpillAll();
302 __ int3(); 302 __ int3();
303 } 303 }
304 #endif 304 #endif
305 305
306 // New scope to get automatic timing calculation. 306 // New scope to get automatic timing calculation.
307 { // NOLINT 307 { HistogramTimerScope codegen_timer(&Counters::code_generation);
308 HistogramTimerScope codegen_timer(&Counters::code_generation);
309 CodeGenState state(this); 308 CodeGenState state(this);
310 309
311 // Entry: 310 // Entry:
312 // Stack: receiver, arguments, return address. 311 // Stack: receiver, arguments, return address.
313 // rbp: caller's frame pointer 312 // rbp: caller's frame pointer
314 // rsp: stack pointer 313 // rsp: stack pointer
315 // rdi: called JS function 314 // rdi: called JS function
316 // rsi: callee's context 315 // rsi: callee's context
317 allocator_->Initialize(); 316 allocator_->Initialize();
318 317
(...skipping 10149 matching lines...) Expand 10 before | Expand all | Expand 10 after
10468 // Call the function from C++. 10467 // Call the function from C++.
10469 return FUNCTION_CAST<ModuloFunction>(buffer); 10468 return FUNCTION_CAST<ModuloFunction>(buffer);
10470 } 10469 }
10471 10470
10472 #endif 10471 #endif
10473 10472
10474 10473
10475 #undef __ 10474 #undef __
10476 10475
10477 } } // namespace v8::internal 10476 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698