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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 18509003: Keep two empty lines between declarations for cpp files (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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/x64/builtins-x64.cc ('k') | src/x64/disasm-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 5310 matching lines...) Expand 10 before | Expand all | Expand 10 after
5321 5321
5322 __ andl(hash, Immediate(String::kHashBitMask)); 5322 __ andl(hash, Immediate(String::kHashBitMask));
5323 5323
5324 // if (hash == 0) hash = 27; 5324 // if (hash == 0) hash = 27;
5325 Label hash_not_zero; 5325 Label hash_not_zero;
5326 __ j(not_zero, &hash_not_zero); 5326 __ j(not_zero, &hash_not_zero);
5327 __ Set(hash, StringHasher::kZeroHash); 5327 __ Set(hash, StringHasher::kZeroHash);
5328 __ bind(&hash_not_zero); 5328 __ bind(&hash_not_zero);
5329 } 5329 }
5330 5330
5331
5331 void SubStringStub::Generate(MacroAssembler* masm) { 5332 void SubStringStub::Generate(MacroAssembler* masm) {
5332 Label runtime; 5333 Label runtime;
5333 5334
5334 // Stack frame on entry. 5335 // Stack frame on entry.
5335 // rsp[0] : return address 5336 // rsp[0] : return address
5336 // rsp[8] : to 5337 // rsp[8] : to
5337 // rsp[16] : from 5338 // rsp[16] : from
5338 // rsp[24] : string 5339 // rsp[24] : string
5339 5340
5340 const int kToOffset = 1 * kPointerSize; 5341 const int kToOffset = 1 * kPointerSize;
(...skipping 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after
6998 __ bind(&fast_elements_case); 6999 __ bind(&fast_elements_case);
6999 GenerateCase(masm, FAST_ELEMENTS); 7000 GenerateCase(masm, FAST_ELEMENTS);
7000 } 7001 }
7001 7002
7002 7003
7003 #undef __ 7004 #undef __
7004 7005
7005 } } // namespace v8::internal 7006 } } // namespace v8::internal
7006 7007
7007 #endif // V8_TARGET_ARCH_X64 7008 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698