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

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

Issue 10878047: Revert to code state of 3.13.1 plus r12350 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
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
« no previous file with comments | « src/x64/lithium-codegen-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 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 native context if the map in register 1136 // transitioned_kind from the global context if the map in register
1137 // map_in_out is the cached Array map in the native context of 1137 // map_in_out is the cached Array map in the global 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 return Operand(object, index, scale, offset - kHeapObjectTag); 1442 return Operand(object, index, scale, offset - kHeapObjectTag);
1443 } 1443 }
1444 1444
1445 1445
1446 inline Operand ContextOperand(Register context, int index) { 1446 inline Operand ContextOperand(Register context, int index) {
1447 return Operand(context, Context::SlotOffset(index)); 1447 return Operand(context, Context::SlotOffset(index));
1448 } 1448 }
1449 1449
1450 1450
1451 inline Operand GlobalObjectOperand() { 1451 inline Operand GlobalObjectOperand() {
1452 return ContextOperand(rsi, Context::GLOBAL_OBJECT_INDEX); 1452 return ContextOperand(rsi, Context::GLOBAL_INDEX);
1453 } 1453 }
1454 1454
1455 1455
1456 // Provides access to exit frame stack space (not GCed). 1456 // Provides access to exit frame stack space (not GCed).
1457 inline Operand StackSpaceOperand(int index) { 1457 inline Operand StackSpaceOperand(int index) {
1458 #ifdef _WIN64 1458 #ifdef _WIN64
1459 const int kShaddowSpace = 4; 1459 const int kShaddowSpace = 4;
1460 return Operand(rsp, (index + kShaddowSpace) * kPointerSize); 1460 return Operand(rsp, (index + kShaddowSpace) * kPointerSize);
1461 #else 1461 #else
1462 return Operand(rsp, index * kPointerSize); 1462 return Operand(rsp, index * kPointerSize);
(...skipping 19 matching lines...) Expand all
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
« no previous file with comments | « 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