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

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

Issue 9298011: MIPS: Store transitioned JSArray maps in global context (Closed)
Patch Set: Created 8 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/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 void LeaveExitFrame(bool save_doubles, Register arg_count); 765 void LeaveExitFrame(bool save_doubles, Register arg_count);
766 766
767 // Get the actual activation frame alignment for target environment. 767 // Get the actual activation frame alignment for target environment.
768 static int ActivationFrameAlignment(); 768 static int ActivationFrameAlignment();
769 769
770 // Make sure the stack is aligned. Only emits code in debug mode. 770 // Make sure the stack is aligned. Only emits code in debug mode.
771 void AssertStackIsAligned(); 771 void AssertStackIsAligned();
772 772
773 void LoadContext(Register dst, int context_chain_length); 773 void LoadContext(Register dst, int context_chain_length);
774 774
775 // Load the initial map for new Arrays of a given type.
776 void LoadGlobalInitialConstructedArrayMap(Register function_in,
777 Register scratch,
778 Register map_out);
779
775 void LoadGlobalFunction(int index, Register function); 780 void LoadGlobalFunction(int index, Register function);
776 781
777 // Load the initial map from the global function. The registers 782 // Load the initial map from the global function. The registers
778 // function and map can be the same, function is then overwritten. 783 // function and map can be the same, function is then overwritten.
779 void LoadGlobalFunctionInitialMap(Register function, 784 void LoadGlobalFunctionInitialMap(Register function,
780 Register map, 785 Register map,
781 Register scratch); 786 Register scratch);
782 787
783 void InitializeRootRegister() { 788 void InitializeRootRegister() {
784 ExternalReference roots_array_start = 789 ExternalReference roots_array_start =
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1469 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1465 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1470 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1466 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1471 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1467 #else 1472 #else
1468 #define ACCESS_MASM(masm) masm-> 1473 #define ACCESS_MASM(masm) masm->
1469 #endif 1474 #endif
1470 1475
1471 } } // namespace v8::internal 1476 } } // namespace v8::internal
1472 1477
1473 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1478 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698