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

Side by Side Diff: src/x64/macro-assembler-x64.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/x64/code-stubs-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 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 // expected_kind. 1229 // expected_kind.
1230 void LoadTransitionedArrayMapConditional( 1230 void LoadTransitionedArrayMapConditional(
1231 ElementsKind expected_kind, 1231 ElementsKind expected_kind,
1232 ElementsKind transitioned_kind, 1232 ElementsKind transitioned_kind,
1233 Register map_in_out, 1233 Register map_in_out,
1234 Register scratch, 1234 Register scratch,
1235 Label* no_map_match); 1235 Label* no_map_match);
1236 1236
1237 // Load the global function with the given index. 1237 // Load the global function with the given index.
1238 void LoadGlobalFunction(int index, Register function); 1238 void LoadGlobalFunction(int index, Register function);
1239 void LoadArrayFunction(Register function);
1240 1239
1241 // Load the initial map from the global function. The registers 1240 // Load the initial map from the global function. The registers
1242 // function and map can be the same. 1241 // function and map can be the same.
1243 void LoadGlobalFunctionInitialMap(Register function, Register map); 1242 void LoadGlobalFunctionInitialMap(Register function, Register map);
1244 1243
1245 // --------------------------------------------------------------------------- 1244 // ---------------------------------------------------------------------------
1246 // Runtime calls 1245 // Runtime calls
1247 1246
1248 // Call a code stub. 1247 // Call a code stub.
1249 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); 1248 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 masm->popfq(); \ 1607 masm->popfq(); \
1609 } \ 1608 } \
1610 masm-> 1609 masm->
1611 #else 1610 #else
1612 #define ACCESS_MASM(masm) masm-> 1611 #define ACCESS_MASM(masm) masm->
1613 #endif 1612 #endif
1614 1613
1615 } } // namespace v8::internal 1614 } } // namespace v8::internal
1616 1615
1617 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1616 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698