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

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

Issue 360023003: Revert "Replace HeapNumber as doublebox with an explicit MutableHeapNumber." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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);
643 642
644 // Allocate a sequential string. All the header fields of the string object 643 // Allocate a sequential string. All the header fields of the string object
645 // are initialized. 644 // are initialized.
646 void AllocateTwoByteString(Register result, 645 void AllocateTwoByteString(Register result,
647 Register length, 646 Register length,
648 Register scratch1, 647 Register scratch1,
649 Register scratch2, 648 Register scratch2,
650 Register scratch3, 649 Register scratch3,
651 Label* gc_required); 650 Label* gc_required);
652 void AllocateAsciiString(Register result, 651 void AllocateAsciiString(Register result,
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 } \ 1107 } \
1109 masm-> 1108 masm->
1110 #else 1109 #else
1111 #define ACCESS_MASM(masm) masm-> 1110 #define ACCESS_MASM(masm) masm->
1112 #endif 1111 #endif
1113 1112
1114 1113
1115 } } // namespace v8::internal 1114 } } // namespace v8::internal
1116 1115
1117 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1116 #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