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

Side by Side Diff: src/objects.h

Issue 22272002: Work in progress: don't optimize increment/decrements on frozen objects (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
« src/hydrogen.cc ('K') | « src/hydrogen.cc ('k') | no next file » | 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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 V(kExternalStringExpectedButNotFound, \ 1116 V(kExternalStringExpectedButNotFound, \
1117 "external string expected, but not found") \ 1117 "external string expected, but not found") \
1118 V(kFailedBailedOutLastTime, "failed/bailed out last time") \ 1118 V(kFailedBailedOutLastTime, "failed/bailed out last time") \
1119 V(kForInStatementIsNotFastCase, "ForInStatement is not fast case") \ 1119 V(kForInStatementIsNotFastCase, "ForInStatement is not fast case") \
1120 V(kForInStatementOptimizationIsDisabled, \ 1120 V(kForInStatementOptimizationIsDisabled, \
1121 "ForInStatement optimization is disabled") \ 1121 "ForInStatement optimization is disabled") \
1122 V(kForInStatementWithNonLocalEachVariable, \ 1122 V(kForInStatementWithNonLocalEachVariable, \
1123 "ForInStatement with non-local each variable") \ 1123 "ForInStatement with non-local each variable") \
1124 V(kForOfStatement, "ForOfStatement") \ 1124 V(kForOfStatement, "ForOfStatement") \
1125 V(kFrameIsExpectedToBeAligned, "frame is expected to be aligned") \ 1125 V(kFrameIsExpectedToBeAligned, "frame is expected to be aligned") \
1126 V(kFrozenObjectInCountOperation, "frozen object in count operation") \
1126 V(kFunctionCallsEval, "function calls eval") \ 1127 V(kFunctionCallsEval, "function calls eval") \
1127 V(kFunctionIsAGenerator, "function is a generator") \ 1128 V(kFunctionIsAGenerator, "function is a generator") \
1128 V(kFunctionWithIllegalRedeclaration, "function with illegal redeclaration") \ 1129 V(kFunctionWithIllegalRedeclaration, "function with illegal redeclaration") \
1129 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ 1130 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \
1130 V(kGeneratorFailedToResume, "Generator failed to resume") \ 1131 V(kGeneratorFailedToResume, "Generator failed to resume") \
1131 V(kGenerator, "generator") \ 1132 V(kGenerator, "generator") \
1132 V(kGlobalFunctionsMustHaveInitialMap, \ 1133 V(kGlobalFunctionsMustHaveInitialMap, \
1133 "Global functions must have initial map") \ 1134 "Global functions must have initial map") \
1134 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ 1135 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \
1135 V(kImproperObjectOnPrototypeChainForStore, \ 1136 V(kImproperObjectOnPrototypeChainForStore, \
(...skipping 9046 matching lines...) Expand 10 before | Expand all | Expand 10 after
10182 } else { 10183 } else {
10183 value &= ~(1 << bit_position); 10184 value &= ~(1 << bit_position);
10184 } 10185 }
10185 return value; 10186 return value;
10186 } 10187 }
10187 }; 10188 };
10188 10189
10189 } } // namespace v8::internal 10190 } } // namespace v8::internal
10190 10191
10191 #endif // V8_OBJECTS_H_ 10192 #endif // V8_OBJECTS_H_
OLDNEW
« src/hydrogen.cc ('K') | « src/hydrogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698