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

Side by Side Diff: src/arm/macro-assembler-arm.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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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/frames.h" 10 #include "src/frames.h"
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 Label* gc_required, 799 Label* gc_required,
800 TaggingMode tagging_mode = TAG_RESULT, 800 TaggingMode tagging_mode = TAG_RESULT,
801 MutableMode mode = IMMUTABLE); 801 MutableMode mode = IMMUTABLE);
802 void AllocateHeapNumberWithValue(Register result, 802 void AllocateHeapNumberWithValue(Register result,
803 DwVfpRegister value, 803 DwVfpRegister value,
804 Register scratch1, 804 Register scratch1,
805 Register scratch2, 805 Register scratch2,
806 Register heap_number_map, 806 Register heap_number_map,
807 Label* gc_required); 807 Label* gc_required);
808 808
809 // Allocate and initialize a JSValue wrapper with the specified {constructor}
810 // and {value}.
811 void AllocateJSValue(Register result, Register constructor, Register value,
812 Register scratch1, Register scratch2,
813 Label* gc_required);
814
809 // Copies a number of bytes from src to dst. All registers are clobbered. On 815 // Copies a number of bytes from src to dst. All registers are clobbered. On
810 // exit src and dst will point to the place just after where the last byte was 816 // exit src and dst will point to the place just after where the last byte was
811 // read or written and length will be zero. 817 // read or written and length will be zero.
812 void CopyBytes(Register src, 818 void CopyBytes(Register src,
813 Register dst, 819 Register dst,
814 Register length, 820 Register length,
815 Register scratch); 821 Register scratch);
816 822
817 // Initialize fields with filler values. Fields starting at |current_address| 823 // Initialize fields with filler values. Fields starting at |current_address|
818 // not including |end_address| are overwritten with the value in |filler|. At 824 // not including |end_address| are overwritten with the value in |filler|. At
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1545 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1540 #else 1546 #else
1541 #define ACCESS_MASM(masm) masm-> 1547 #define ACCESS_MASM(masm) masm->
1542 #endif 1548 #endif
1543 1549
1544 1550
1545 } // namespace internal 1551 } // namespace internal
1546 } // namespace v8 1552 } // namespace v8
1547 1553
1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1554 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | src/x64/builtins-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698