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

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

Issue 1573243009: [builtins] Migrate Number constructor similar to String constructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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
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/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 1312
1313 // Allocate a raw sliced string object. Only the map field of the result is 1313 // Allocate a raw sliced string object. Only the map field of the result is
1314 // initialized. 1314 // initialized.
1315 void AllocateTwoByteSlicedString(Register result, 1315 void AllocateTwoByteSlicedString(Register result,
1316 Register scratch1, 1316 Register scratch1,
1317 Register scratch2, 1317 Register scratch2,
1318 Label* gc_required); 1318 Label* gc_required);
1319 void AllocateOneByteSlicedString(Register result, Register scratch1, 1319 void AllocateOneByteSlicedString(Register result, Register scratch1,
1320 Register scratch2, Label* gc_required); 1320 Register scratch2, Label* gc_required);
1321 1321
1322 // Allocate and initialize a JSValue wrapper with the specified {constructor}
1323 // and {value}.
1324 void AllocateJSValue(Register result, Register constructor, Register value,
1325 Register scratch, Label* gc_required);
1326
1322 // --------------------------------------------------------------------------- 1327 // ---------------------------------------------------------------------------
1323 // Support functions. 1328 // Support functions.
1324 1329
1325 // Check if result is zero and op is negative. 1330 // Check if result is zero and op is negative.
1326 void NegativeZeroTest(Register result, Register op, Label* then_label); 1331 void NegativeZeroTest(Register result, Register op, Label* then_label);
1327 1332
1328 // Check if result is zero and op is negative in code using jump targets. 1333 // Check if result is zero and op is negative in code using jump targets.
1329 void NegativeZeroTest(CodeGenerator* cgen, 1334 void NegativeZeroTest(CodeGenerator* cgen,
1330 Register result, 1335 Register result,
1331 Register op, 1336 Register op,
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 } \ 1739 } \
1735 masm-> 1740 masm->
1736 #else 1741 #else
1737 #define ACCESS_MASM(masm) masm-> 1742 #define ACCESS_MASM(masm) masm->
1738 #endif 1743 #endif
1739 1744
1740 } // namespace internal 1745 } // namespace internal
1741 } // namespace v8 1746 } // namespace v8
1742 1747
1743 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698