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

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

Issue 334323003: Reland r22082 "Replace HeapNumber as doublebox with an explicit MutableHeapNumber." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Migrations test fixed Created 6 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/stub-cache-x64.cc ('k') | src/x87/macro-assembler-x87.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 // un-done. 610 // un-done.
611 void UndoAllocationInNewSpace(Register object); 611 void UndoAllocationInNewSpace(Register object);
612 612
613 // Allocate a heap number in new space with undefined value. The 613 // Allocate a heap number in new space with undefined value. The
614 // register scratch2 can be passed as no_reg; the others must be 614 // register scratch2 can be passed as no_reg; the others must be
615 // valid registers. Returns tagged pointer in result register, or 615 // valid registers. Returns tagged pointer in result register, or
616 // jumps to gc_required if new space is full. 616 // jumps to gc_required if new space is full.
617 void AllocateHeapNumber(Register result, 617 void AllocateHeapNumber(Register result,
618 Register scratch1, 618 Register scratch1,
619 Register scratch2, 619 Register scratch2,
620 Label* gc_required); 620 Label* gc_required,
621 MutableMode mode = IMMUTABLE);
621 622
622 // Allocate a sequential string. All the header fields of the string object 623 // Allocate a sequential string. All the header fields of the string object
623 // are initialized. 624 // are initialized.
624 void AllocateTwoByteString(Register result, 625 void AllocateTwoByteString(Register result,
625 Register length, 626 Register length,
626 Register scratch1, 627 Register scratch1,
627 Register scratch2, 628 Register scratch2,
628 Register scratch3, 629 Register scratch3,
629 Label* gc_required); 630 Label* gc_required);
630 void AllocateAsciiString(Register result, 631 void AllocateAsciiString(Register result,
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 } \ 1082 } \
1082 masm-> 1083 masm->
1083 #else 1084 #else
1084 #define ACCESS_MASM(masm) masm-> 1085 #define ACCESS_MASM(masm) masm->
1085 #endif 1086 #endif
1086 1087
1087 1088
1088 } } // namespace v8::internal 1089 } } // namespace v8::internal
1089 1090
1090 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1091 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/stub-cache-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698