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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/hydrogen.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 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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 // un-done. 631 // un-done.
632 void UndoAllocationInNewSpace(Register object); 632 void UndoAllocationInNewSpace(Register object);
633 633
634 // Allocate a heap number in new space with undefined value. The 634 // Allocate a heap number in new space with undefined value. The
635 // register scratch2 can be passed as no_reg; the others must be 635 // register scratch2 can be passed as no_reg; the others must be
636 // valid registers. Returns tagged pointer in result register, or 636 // valid registers. Returns tagged pointer in result register, or
637 // jumps to gc_required if new space is full. 637 // jumps to gc_required if new space is full.
638 void AllocateHeapNumber(Register result, 638 void AllocateHeapNumber(Register result,
639 Register scratch1, 639 Register scratch1,
640 Register scratch2, 640 Register scratch2,
641 Label* gc_required); 641 Label* gc_required,
642 MutableMode mode = IMMUTABLE);
642 643
643 // Allocate a sequential string. All the header fields of the string object 644 // Allocate a sequential string. All the header fields of the string object
644 // are initialized. 645 // are initialized.
645 void AllocateTwoByteString(Register result, 646 void AllocateTwoByteString(Register result,
646 Register length, 647 Register length,
647 Register scratch1, 648 Register scratch1,
648 Register scratch2, 649 Register scratch2,
649 Register scratch3, 650 Register scratch3,
650 Label* gc_required); 651 Label* gc_required);
651 void AllocateAsciiString(Register result, 652 void AllocateAsciiString(Register result,
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 } \ 1108 } \
1108 masm-> 1109 masm->
1109 #else 1110 #else
1110 #define ACCESS_MASM(masm) masm-> 1111 #define ACCESS_MASM(masm) masm->
1111 #endif 1112 #endif
1112 1113
1113 1114
1114 } } // namespace v8::internal 1115 } } // namespace v8::internal
1115 1116
1116 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1117 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698