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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/ia32/builtins-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // argument in register esi. 214 // argument in register esi.
215 void LeaveExitFrame(bool save_doubles); 215 void LeaveExitFrame(bool save_doubles);
216 216
217 // Leave the current exit frame. Expects the return value in 217 // Leave the current exit frame. Expects the return value in
218 // register eax (untouched). 218 // register eax (untouched).
219 void LeaveApiExitFrame(); 219 void LeaveApiExitFrame();
220 220
221 // Find the function context up the context chain. 221 // Find the function context up the context chain.
222 void LoadContext(Register dst, int context_chain_length); 222 void LoadContext(Register dst, int context_chain_length);
223 223
224 // Load the initial map for new Arrays of a given type.
225 void LoadGlobalInitialConstructedArrayMap(Register function_in,
226 Register scratch,
227 Register map_out);
228
224 // Load the global function with the given index. 229 // Load the global function with the given index.
225 void LoadGlobalFunction(int index, Register function); 230 void LoadGlobalFunction(int index, Register function);
226 231
227 // Load the initial map from the global function. The registers 232 // Load the initial map from the global function. The registers
228 // function and map can be the same. 233 // function and map can be the same.
229 void LoadGlobalFunctionInitialMap(Register function, Register map); 234 void LoadGlobalFunctionInitialMap(Register function, Register map);
230 235
231 // Push and pop the registers that can hold pointers. 236 // Push and pop the registers that can hold pointers.
232 void PushSafepointRegisters() { pushad(); } 237 void PushSafepointRegisters() { pushad(); }
233 void PopSafepointRegisters() { popad(); } 238 void PopSafepointRegisters() { popad(); }
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 } \ 955 } \
951 masm-> 956 masm->
952 #else 957 #else
953 #define ACCESS_MASM(masm) masm-> 958 #define ACCESS_MASM(masm) masm->
954 #endif 959 #endif
955 960
956 961
957 } } // namespace v8::internal 962 } } // namespace v8::internal
958 963
959 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 964 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698