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

Side by Side Diff: src/x64/macro-assembler-x64.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/runtime.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 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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_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 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1179 // it will no longer be allocated. Make sure that no pointers are left to the 1179 // it will no longer be allocated. Make sure that no pointers are left to the
1180 // object(s) no longer allocated as they would be invalid when allocation is 1180 // object(s) no longer allocated as they would be invalid when allocation is
1181 // un-done. 1181 // un-done.
1182 void UndoAllocationInNewSpace(Register object); 1182 void UndoAllocationInNewSpace(Register object);
1183 1183
1184 // Allocate a heap number in new space with undefined value. Returns 1184 // Allocate a heap number in new space with undefined value. Returns
1185 // tagged pointer in result register, or jumps to gc_required if new 1185 // tagged pointer in result register, or jumps to gc_required if new
1186 // space is full. 1186 // space is full.
1187 void AllocateHeapNumber(Register result, 1187 void AllocateHeapNumber(Register result,
1188 Register scratch, 1188 Register scratch,
1189 Label* gc_required, 1189 Label* gc_required);
1190 MutableMode mode = IMMUTABLE);
1191 1190
1192 // Allocate a sequential string. All the header fields of the string object 1191 // Allocate a sequential string. All the header fields of the string object
1193 // are initialized. 1192 // are initialized.
1194 void AllocateTwoByteString(Register result, 1193 void AllocateTwoByteString(Register result,
1195 Register length, 1194 Register length,
1196 Register scratch1, 1195 Register scratch1,
1197 Register scratch2, 1196 Register scratch2,
1198 Register scratch3, 1197 Register scratch3,
1199 Label* gc_required); 1198 Label* gc_required);
1200 void AllocateAsciiString(Register result, 1199 void AllocateAsciiString(Register result,
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 masm->popfq(); \ 1647 masm->popfq(); \
1649 } \ 1648 } \
1650 masm-> 1649 masm->
1651 #else 1650 #else
1652 #define ACCESS_MASM(masm) masm-> 1651 #define ACCESS_MASM(masm) masm->
1653 #endif 1652 #endif
1654 1653
1655 } } // namespace v8::internal 1654 } } // namespace v8::internal
1656 1655
1657 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1656 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698