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

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

Issue 9316061: MIPS: Handle single element array growth + transition in generic KeyedStoreIC (Closed)
Patch Set: rebased on r10618. 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/ic-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. 775 // Conditionally load the cached Array transitioned map of type
776 void LoadGlobalInitialConstructedArrayMap(Register function_in, 776 // transitioned_kind from the global context if the map in register
777 Register scratch, 777 // map_in_out is the cached Array map in the global context of
778 Register map_out); 778 // expected_kind.
779 void LoadTransitionedArrayMapConditional(
780 ElementsKind expected_kind,
781 ElementsKind transitioned_kind,
782 Register map_in_out,
783 Register scratch,
784 Label* no_map_match);
785
786 // Load the initial map for new Arrays from a JSFunction.
787 void LoadInitialArrayMap(Register function_in,
788 Register scratch,
789 Register map_out);
779 790
780 void LoadGlobalFunction(int index, Register function); 791 void LoadGlobalFunction(int index, Register function);
781 792
782 // Load the initial map from the global function. The registers 793 // Load the initial map from the global function. The registers
783 // function and map can be the same, function is then overwritten. 794 // function and map can be the same, function is then overwritten.
784 void LoadGlobalFunctionInitialMap(Register function, 795 void LoadGlobalFunctionInitialMap(Register function,
785 Register map, 796 Register map,
786 Register scratch); 797 Register scratch);
787 798
788 void InitializeRootRegister() { 799 void InitializeRootRegister() {
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1472 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1462 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1473 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1463 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1474 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1464 #else 1475 #else
1465 #define ACCESS_MASM(masm) masm-> 1476 #define ACCESS_MASM(masm) masm->
1466 #endif 1477 #endif
1467 1478
1468 } } // namespace v8::internal 1479 } } // namespace v8::internal
1469 1480
1470 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1481 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698