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

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

Issue 3327001: ia32 StringAddStub: fast two character case. (Closed)
Patch Set: Better comment. Created 10 years, 3 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
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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 Register scratch1, 349 Register scratch1,
350 Register scratch2, 350 Register scratch2,
351 Register scratch3, 351 Register scratch3,
352 Label* gc_required); 352 Label* gc_required);
353 void AllocateAsciiString(Register result, 353 void AllocateAsciiString(Register result,
354 Register length, 354 Register length,
355 Register scratch1, 355 Register scratch1,
356 Register scratch2, 356 Register scratch2,
357 Register scratch3, 357 Register scratch3,
358 Label* gc_required); 358 Label* gc_required);
359 void AllocateAsciiString(Register result,
360 int length,
361 Register scratch,
362 Label* gc_required);
359 363
360 // Allocate a raw cons string object. Only the map field of the result is 364 // Allocate a raw cons string object. Only the map field of the result is
361 // initialized. 365 // initialized.
362 void AllocateConsString(Register result, 366 void AllocateConsString(Register result,
363 Register scratch1, 367 Register scratch1,
364 Register scratch2, 368 Register scratch2,
365 Label* gc_required); 369 Label* gc_required);
366 void AllocateAsciiConsString(Register result, 370 void AllocateAsciiConsString(Register result,
367 Register scratch1, 371 Register scratch1,
368 Register scratch2, 372 Register scratch2,
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 } \ 652 } \
649 masm-> 653 masm->
650 #else 654 #else
651 #define ACCESS_MASM(masm) masm-> 655 #define ACCESS_MASM(masm) masm->
652 #endif 656 #endif
653 657
654 658
655 } } // namespace v8::internal 659 } } // namespace v8::internal
656 660
657 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 661 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698