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

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

Issue 7795018: Generated code for substring slices in x64 and arm. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Applied Bill's suggestions. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 Register scratch3, 430 Register scratch3,
431 Label* gc_required); 431 Label* gc_required);
432 void AllocateAsciiString(Register result, 432 void AllocateAsciiString(Register result,
433 int length, 433 int length,
434 Register scratch1, 434 Register scratch1,
435 Register scratch2, 435 Register scratch2,
436 Label* gc_required); 436 Label* gc_required);
437 437
438 // Allocate a raw cons string object. Only the map field of the result is 438 // Allocate a raw cons string object. Only the map field of the result is
439 // initialized. 439 // initialized.
440 void AllocateConsString(Register result, 440 void AllocateTwoByteConsString(Register result,
441 Register scratch1, 441 Register scratch1,
442 Register scratch2, 442 Register scratch2,
443 Label* gc_required); 443 Label* gc_required);
444 void AllocateAsciiConsString(Register result, 444 void AllocateAsciiConsString(Register result,
445 Register scratch1, 445 Register scratch1,
446 Register scratch2, 446 Register scratch2,
447 Label* gc_required); 447 Label* gc_required);
448 448
449 // Allocate a raw sliced string object. Only the map field of the result is 449 // Allocate a raw sliced string object. Only the map field of the result is
450 // initialized. 450 // initialized.
451 void AllocateSlicedString(Register result, 451 void AllocateTwoByteSlicedString(Register result,
452 Register scratch1, 452 Register scratch1,
453 Register scratch2, 453 Register scratch2,
454 Label* gc_required); 454 Label* gc_required);
455 void AllocateAsciiSlicedString(Register result, 455 void AllocateAsciiSlicedString(Register result,
456 Register scratch1, 456 Register scratch1,
457 Register scratch2, 457 Register scratch2,
458 Label* gc_required); 458 Label* gc_required);
459 459
460 // Copy memory, byte-by-byte, from source to destination. Not optimized for 460 // Copy memory, byte-by-byte, from source to destination. Not optimized for
461 // long or aligned copies. 461 // long or aligned copies.
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 } \ 810 } \
811 masm-> 811 masm->
812 #else 812 #else
813 #define ACCESS_MASM(masm) masm-> 813 #define ACCESS_MASM(masm) masm->
814 #endif 814 #endif
815 815
816 816
817 } } // namespace v8::internal 817 } } // namespace v8::internal
818 818
819 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 819 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698