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

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

Issue 184383003: The Array function must be looked up in the native context. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove the misleading LoadGlobalContext on ia32 Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/code-stubs-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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 // map_in_out is the cached Array map in the native context of 865 // map_in_out is the cached Array map in the native context of
866 // expected_kind. 866 // expected_kind.
867 void LoadTransitionedArrayMapConditional( 867 void LoadTransitionedArrayMapConditional(
868 ElementsKind expected_kind, 868 ElementsKind expected_kind,
869 ElementsKind transitioned_kind, 869 ElementsKind transitioned_kind,
870 Register map_in_out, 870 Register map_in_out,
871 Register scratch, 871 Register scratch,
872 Label* no_map_match); 872 Label* no_map_match);
873 873
874 void LoadGlobalFunction(int index, Register function); 874 void LoadGlobalFunction(int index, Register function);
875 void LoadArrayFunction(Register function);
876 875
877 // Load the initial map from the global function. The registers 876 // Load the initial map from the global function. The registers
878 // function and map can be the same, function is then overwritten. 877 // function and map can be the same, function is then overwritten.
879 void LoadGlobalFunctionInitialMap(Register function, 878 void LoadGlobalFunctionInitialMap(Register function,
880 Register map, 879 Register map,
881 Register scratch); 880 Register scratch);
882 881
883 void InitializeRootRegister() { 882 void InitializeRootRegister() {
884 ExternalReference roots_array_start = 883 ExternalReference roots_array_start =
885 ExternalReference::roots_array_start(isolate()); 884 ExternalReference::roots_array_start(isolate());
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
1666 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1665 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1667 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1666 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1668 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1667 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1669 #else 1668 #else
1670 #define ACCESS_MASM(masm) masm-> 1669 #define ACCESS_MASM(masm) masm->
1671 #endif 1670 #endif
1672 1671
1673 } } // namespace v8::internal 1672 } } // namespace v8::internal
1674 1673
1675 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1674 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698