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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/ia32/lithium-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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 return Operand(object, index, scale, offset - kHeapObjectTag); 954 return Operand(object, index, scale, offset - kHeapObjectTag);
955 } 955 }
956 956
957 957
958 inline Operand ContextOperand(Register context, int index) { 958 inline Operand ContextOperand(Register context, int index) {
959 return Operand(context, Context::SlotOffset(index)); 959 return Operand(context, Context::SlotOffset(index));
960 } 960 }
961 961
962 962
963 inline Operand GlobalObjectOperand() { 963 inline Operand GlobalObjectOperand() {
964 return ContextOperand(esi, Context::GLOBAL_INDEX); 964 return ContextOperand(esi, Context::GLOBAL_OBJECT_INDEX);
965 } 965 }
966 966
967 967
968 // Generates an Operand for saving parameters after PrepareCallApiFunction. 968 // Generates an Operand for saving parameters after PrepareCallApiFunction.
969 Operand ApiParameterOperand(int index); 969 Operand ApiParameterOperand(int index);
970 970
971 971
972 #ifdef GENERATED_CODE_COVERAGE 972 #ifdef GENERATED_CODE_COVERAGE
973 extern void LogGeneratedCodeCoverage(const char* file_line); 973 extern void LogGeneratedCodeCoverage(const char* file_line);
974 #define CODE_COVERAGE_STRINGIFY(x) #x 974 #define CODE_COVERAGE_STRINGIFY(x) #x
(...skipping 12 matching lines...) Expand all
987 } \ 987 } \
988 masm-> 988 masm->
989 #else 989 #else
990 #define ACCESS_MASM(masm) masm-> 990 #define ACCESS_MASM(masm) masm->
991 #endif 991 #endif
992 992
993 993
994 } } // namespace v8::internal 994 } } // namespace v8::internal
995 995
996 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 996 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-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