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

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

Issue 211333002: Replace HeapNumber as doublebox with an explicit MutableHeapNumber. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 // un-done. 636 // un-done.
637 void UndoAllocationInNewSpace(Register object); 637 void UndoAllocationInNewSpace(Register object);
638 638
639 // Allocate a heap number in new space with undefined value. The 639 // Allocate a heap number in new space with undefined value. The
640 // register scratch2 can be passed as no_reg; the others must be 640 // register scratch2 can be passed as no_reg; the others must be
641 // valid registers. Returns tagged pointer in result register, or 641 // valid registers. Returns tagged pointer in result register, or
642 // jumps to gc_required if new space is full. 642 // jumps to gc_required if new space is full.
643 void AllocateHeapNumber(Register result, 643 void AllocateHeapNumber(Register result,
644 Register scratch1, 644 Register scratch1,
645 Register scratch2, 645 Register scratch2,
646 Label* gc_required); 646 Label* gc_required,
647 MutableMode mode = IMMUTABLE);
647 648
648 // Allocate a sequential string. All the header fields of the string object 649 // Allocate a sequential string. All the header fields of the string object
649 // are initialized. 650 // are initialized.
650 void AllocateTwoByteString(Register result, 651 void AllocateTwoByteString(Register result,
651 Register length, 652 Register length,
652 Register scratch1, 653 Register scratch1,
653 Register scratch2, 654 Register scratch2,
654 Register scratch3, 655 Register scratch3,
655 Label* gc_required); 656 Label* gc_required);
656 void AllocateAsciiString(Register result, 657 void AllocateAsciiString(Register result,
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 } \ 1127 } \
1127 masm-> 1128 masm->
1128 #else 1129 #else
1129 #define ACCESS_MASM(masm) masm-> 1130 #define ACCESS_MASM(masm) masm->
1130 #endif 1131 #endif
1131 1132
1132 1133
1133 } } // namespace v8::internal 1134 } } // namespace v8::internal
1134 1135
1135 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1136 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | src/json-parser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698