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

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

Issue 10832365: Rename Context::global to Context::global_object, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. 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 1431 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_INDEX); 1452 return ContextOperand(rsi, Context::GLOBAL_OBJECT_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