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

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

Issue 7860035: Merge bleeding edge up to 9192 into the GC branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: 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/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-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 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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 Label* gc_required); 1007 Label* gc_required);
1008 void AllocateAsciiString(Register result, 1008 void AllocateAsciiString(Register result,
1009 Register length, 1009 Register length,
1010 Register scratch1, 1010 Register scratch1,
1011 Register scratch2, 1011 Register scratch2,
1012 Register scratch3, 1012 Register scratch3,
1013 Label* gc_required); 1013 Label* gc_required);
1014 1014
1015 // Allocate a raw cons string object. Only the map field of the result is 1015 // Allocate a raw cons string object. Only the map field of the result is
1016 // initialized. 1016 // initialized.
1017 void AllocateConsString(Register result, 1017 void AllocateTwoByteConsString(Register result,
1018 Register scratch1, 1018 Register scratch1,
1019 Register scratch2, 1019 Register scratch2,
1020 Label* gc_required); 1020 Label* gc_required);
1021 void AllocateAsciiConsString(Register result, 1021 void AllocateAsciiConsString(Register result,
1022 Register scratch1, 1022 Register scratch1,
1023 Register scratch2, 1023 Register scratch2,
1024 Label* gc_required); 1024 Label* gc_required);
1025 1025
1026 // Allocate a raw sliced string object. Only the map field of the result is
1027 // initialized.
1028 void AllocateTwoByteSlicedString(Register result,
1029 Register scratch1,
1030 Register scratch2,
1031 Label* gc_required);
1032 void AllocateAsciiSlicedString(Register result,
1033 Register scratch1,
1034 Register scratch2,
1035 Label* gc_required);
1036
1026 // --------------------------------------------------------------------------- 1037 // ---------------------------------------------------------------------------
1027 // Support functions. 1038 // Support functions.
1028 1039
1029 // Check if result is zero and op is negative. 1040 // Check if result is zero and op is negative.
1030 void NegativeZeroTest(Register result, Register op, Label* then_label); 1041 void NegativeZeroTest(Register result, Register op, Label* then_label);
1031 1042
1032 // Check if result is zero and op is negative in code using jump targets. 1043 // Check if result is zero and op is negative in code using jump targets.
1033 void NegativeZeroTest(CodeGenerator* cgen, 1044 void NegativeZeroTest(CodeGenerator* cgen,
1034 Register result, 1045 Register result,
1035 Register op, 1046 Register op,
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 masm->popfd(); \ 1415 masm->popfd(); \
1405 } \ 1416 } \
1406 masm-> 1417 masm->
1407 #else 1418 #else
1408 #define ACCESS_MASM(masm) masm-> 1419 #define ACCESS_MASM(masm) masm->
1409 #endif 1420 #endif
1410 1421
1411 } } // namespace v8::internal 1422 } } // namespace v8::internal
1412 1423
1413 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1424 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698