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

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

Issue 10832342: Rename "global context" to "native context", (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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
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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 // Picks out an array index from the hash field. 1126 // Picks out an array index from the hash field.
1127 // Register use: 1127 // Register use:
1128 // hash - holds the index's hash. Clobbered. 1128 // hash - holds the index's hash. Clobbered.
1129 // index - holds the overwritten index on exit. 1129 // index - holds the overwritten index on exit.
1130 void IndexFromHash(Register hash, Register index); 1130 void IndexFromHash(Register hash, Register index);
1131 1131
1132 // Find the function context up the context chain. 1132 // Find the function context up the context chain.
1133 void LoadContext(Register dst, int context_chain_length); 1133 void LoadContext(Register dst, int context_chain_length);
1134 1134
1135 // Conditionally load the cached Array transitioned map of type 1135 // Conditionally load the cached Array transitioned map of type
1136 // transitioned_kind from the global context if the map in register 1136 // transitioned_kind from the native context if the map in register
1137 // map_in_out is the cached Array map in the global context of 1137 // map_in_out is the cached Array map in the native context of
1138 // expected_kind. 1138 // expected_kind.
1139 void LoadTransitionedArrayMapConditional( 1139 void LoadTransitionedArrayMapConditional(
1140 ElementsKind expected_kind, 1140 ElementsKind expected_kind,
1141 ElementsKind transitioned_kind, 1141 ElementsKind transitioned_kind,
1142 Register map_in_out, 1142 Register map_in_out,
1143 Register scratch, 1143 Register scratch,
1144 Label* no_map_match); 1144 Label* no_map_match);
1145 1145
1146 // Load the initial map for new Arrays from a JSFunction. 1146 // Load the initial map for new Arrays from a JSFunction.
1147 void LoadInitialArrayMap(Register function_in, 1147 void LoadInitialArrayMap(Register function_in,
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 masm->popfd(); \ 1482 masm->popfd(); \
1483 } \ 1483 } \
1484 masm-> 1484 masm->
1485 #else 1485 #else
1486 #define ACCESS_MASM(masm) masm-> 1486 #define ACCESS_MASM(masm) masm->
1487 #endif 1487 #endif
1488 1488
1489 } } // namespace v8::internal 1489 } } // namespace v8::internal
1490 1490
1491 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1491 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« src/heap.h ('K') | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698