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

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

Issue 954863002: MIPS: Move Maps' back pointers from "transitions" to "constructor" field (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed mips64. 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
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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 // Initialize fields with filler values. Fields starting at |start_offset| 991 // Initialize fields with filler values. Fields starting at |start_offset|
992 // not including end_offset are overwritten with the value in |filler|. At 992 // not including end_offset are overwritten with the value in |filler|. At
993 // the end the loop, |start_offset| takes the value of |end_offset|. 993 // the end the loop, |start_offset| takes the value of |end_offset|.
994 void InitializeFieldsWithFiller(Register start_offset, 994 void InitializeFieldsWithFiller(Register start_offset,
995 Register end_offset, 995 Register end_offset,
996 Register filler); 996 Register filler);
997 997
998 // ------------------------------------------------------------------------- 998 // -------------------------------------------------------------------------
999 // Support functions. 999 // Support functions.
1000 1000
1001 // Machine code version of Map::GetConstructor().
1002 // |temp| holds |result|'s map when done, and |temp2| its instance type.
1003 void GetMapConstructor(Register result, Register map, Register temp,
1004 Register temp2);
1005
1001 // Try to get function prototype of a function and puts the value in 1006 // Try to get function prototype of a function and puts the value in
1002 // the result register. Checks that the function really is a 1007 // the result register. Checks that the function really is a
1003 // function and jumps to the miss label if the fast checks fail. The 1008 // function and jumps to the miss label if the fast checks fail. The
1004 // function register will be untouched; the other registers may be 1009 // function register will be untouched; the other registers may be
1005 // clobbered. 1010 // clobbered.
1006 void TryGetFunctionPrototype(Register function, 1011 void TryGetFunctionPrototype(Register function,
1007 Register result, 1012 Register result,
1008 Register scratch, 1013 Register scratch,
1009 Label* miss, 1014 Label* miss,
1010 bool miss_on_bound_function = false); 1015 bool miss_on_bound_function = false);
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1719 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1715 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1720 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1716 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1721 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1717 #else 1722 #else
1718 #define ACCESS_MASM(masm) masm-> 1723 #define ACCESS_MASM(masm) masm->
1719 #endif 1724 #endif
1720 1725
1721 } } // namespace v8::internal 1726 } } // namespace v8::internal
1722 1727
1723 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1728 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698