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

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

Issue 950283002: Move Maps' back pointers from "transitions" to "constructor" field (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix stupidity on arm64 Created 5 years, 10 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
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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_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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 // Initialize fields with filler values. Fields starting at |start_offset| 804 // Initialize fields with filler values. Fields starting at |start_offset|
805 // not including end_offset are overwritten with the value in |filler|. At 805 // not including end_offset are overwritten with the value in |filler|. At
806 // the end the loop, |start_offset| takes the value of |end_offset|. 806 // the end the loop, |start_offset| takes the value of |end_offset|.
807 void InitializeFieldsWithFiller(Register start_offset, 807 void InitializeFieldsWithFiller(Register start_offset,
808 Register end_offset, 808 Register end_offset,
809 Register filler); 809 Register filler);
810 810
811 // --------------------------------------------------------------------------- 811 // ---------------------------------------------------------------------------
812 // Support functions. 812 // Support functions.
813 813
814 // Machine code version of Map::GetConstructor().
815 // |temp| holds |result|'s map when done, and |temp2| its instance type.
816 void GetMapConstructor(Register result, Register map, Register temp,
817 Register temp2);
818
814 // Try to get function prototype of a function and puts the value in 819 // Try to get function prototype of a function and puts the value in
815 // the result register. Checks that the function really is a 820 // the result register. Checks that the function really is a
816 // function and jumps to the miss label if the fast checks fail. The 821 // function and jumps to the miss label if the fast checks fail. The
817 // function register will be untouched; the other registers may be 822 // function register will be untouched; the other registers may be
818 // clobbered. 823 // clobbered.
819 void TryGetFunctionPrototype(Register function, 824 void TryGetFunctionPrototype(Register function,
820 Register result, 825 Register result,
821 Register scratch, 826 Register scratch,
822 Label* miss, 827 Label* miss,
823 bool miss_on_bound_function = false); 828 bool miss_on_bound_function = false);
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1549 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1545 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1550 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1546 #else 1551 #else
1547 #define ACCESS_MASM(masm) masm-> 1552 #define ACCESS_MASM(masm) masm->
1548 #endif 1553 #endif
1549 1554
1550 1555
1551 } } // namespace v8::internal 1556 } } // namespace v8::internal
1552 1557
1553 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1558 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698