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

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

Issue 13176002: factor out "ReloadContextFromFrame" (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 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
« no previous file with comments | « src/ia32/full-codegen-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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 // Leave the current exit frame. Expects the return value in 223 // Leave the current exit frame. Expects the return value in
224 // register eax:edx (untouched) and the pointer to the first 224 // register eax:edx (untouched) and the pointer to the first
225 // argument in register esi. 225 // argument in register esi.
226 void LeaveExitFrame(bool save_doubles); 226 void LeaveExitFrame(bool save_doubles);
227 227
228 // Leave the current exit frame. Expects the return value in 228 // Leave the current exit frame. Expects the return value in
229 // register eax (untouched). 229 // register eax (untouched).
230 void LeaveApiExitFrame(); 230 void LeaveApiExitFrame();
231 231
232 // Reload the context register from a standard stack frame.
233 void ReloadContextFromFrame();
234
232 // Find the function context up the context chain. 235 // Find the function context up the context chain.
233 void LoadContext(Register dst, int context_chain_length); 236 void LoadContext(Register dst, int context_chain_length);
234 237
235 // Conditionally load the cached Array transitioned map of type 238 // Conditionally load the cached Array transitioned map of type
236 // transitioned_kind from the native context if the map in register 239 // transitioned_kind from the native context if the map in register
237 // map_in_out is the cached Array map in the native context of 240 // map_in_out is the cached Array map in the native context of
238 // expected_kind. 241 // expected_kind.
239 void LoadTransitionedArrayMapConditional( 242 void LoadTransitionedArrayMapConditional(
240 ElementsKind expected_kind, 243 ElementsKind expected_kind,
241 ElementsKind transitioned_kind, 244 ElementsKind transitioned_kind,
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 } \ 1025 } \
1023 masm-> 1026 masm->
1024 #else 1027 #else
1025 #define ACCESS_MASM(masm) masm-> 1028 #define ACCESS_MASM(masm) masm->
1026 #endif 1029 #endif
1027 1030
1028 1031
1029 } } // namespace v8::internal 1032 } } // namespace v8::internal
1030 1033
1031 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1034 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698