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

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

Issue 9073007: Store transitioned JSArray maps in global context (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 8 years, 11 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/x64/builtins-x64.cc ('k') | src/x64/macro-assembler-x64.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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 1116
1117 // Picks out an array index from the hash field. 1117 // Picks out an array index from the hash field.
1118 // Register use: 1118 // Register use:
1119 // hash - holds the index's hash. Clobbered. 1119 // hash - holds the index's hash. Clobbered.
1120 // index - holds the overwritten index on exit. 1120 // index - holds the overwritten index on exit.
1121 void IndexFromHash(Register hash, Register index); 1121 void IndexFromHash(Register hash, Register index);
1122 1122
1123 // Find the function context up the context chain. 1123 // Find the function context up the context chain.
1124 void LoadContext(Register dst, int context_chain_length); 1124 void LoadContext(Register dst, int context_chain_length);
1125 1125
1126 // Load the initial map for new Arrays of a given type.
1127 void LoadGlobalInitialConstructedArrayMap(Register function_in,
1128 Register scratch,
1129 Register map_out);
1130
1126 // Load the global function with the given index. 1131 // Load the global function with the given index.
1127 void LoadGlobalFunction(int index, Register function); 1132 void LoadGlobalFunction(int index, Register function);
1128 1133
1129 // Load the initial map from the global function. The registers 1134 // Load the initial map from the global function. The registers
1130 // function and map can be the same. 1135 // function and map can be the same.
1131 void LoadGlobalFunctionInitialMap(Register function, Register map); 1136 void LoadGlobalFunctionInitialMap(Register function, Register map);
1132 1137
1133 // --------------------------------------------------------------------------- 1138 // ---------------------------------------------------------------------------
1134 // Runtime calls 1139 // Runtime calls
1135 1140
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 masm->popfd(); \ 1454 masm->popfd(); \
1450 } \ 1455 } \
1451 masm-> 1456 masm->
1452 #else 1457 #else
1453 #define ACCESS_MASM(masm) masm-> 1458 #define ACCESS_MASM(masm) masm->
1454 #endif 1459 #endif
1455 1460
1456 } } // namespace v8::internal 1461 } } // namespace v8::internal
1457 1462
1458 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1463 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698