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

Side by Side Diff: src/objects.h

Issue 122463004: Revert "Fix compilation with C++11." and "Allocation site support for monomorphic StringAdds in Bin… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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/ic.cc ('k') | src/objects.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 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ 1097 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \
1098 V(kDeleteWithGlobalVariable, "Delete with global variable") \ 1098 V(kDeleteWithGlobalVariable, "Delete with global variable") \
1099 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ 1099 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \
1100 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ 1100 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \
1101 V(kDontDeleteCellsCannotContainTheHole, \ 1101 V(kDontDeleteCellsCannotContainTheHole, \
1102 "DontDelete cells can't contain the hole") \ 1102 "DontDelete cells can't contain the hole") \
1103 V(kDoPushArgumentNotImplementedForDoubleType, \ 1103 V(kDoPushArgumentNotImplementedForDoubleType, \
1104 "DoPushArgument not implemented for double type") \ 1104 "DoPushArgument not implemented for double type") \
1105 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ 1105 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \
1106 "EmitLoadRegister: Unsupported double immediate") \ 1106 "EmitLoadRegister: Unsupported double immediate") \
1107 V(kEval, "eval") \ 1107 V(kEval, "Eval") \
1108 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \ 1108 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \
1109 V(kExpectedAlignmentMarker, "expected alignment marker") \ 1109 V(kExpectedAlignmentMarker, "Expected alignment marker") \
1110 V(kExpectedAllocationSite, "expected allocation site") \
1111 V(kExpectedAllocationSiteInCell, \ 1110 V(kExpectedAllocationSiteInCell, \
1112 "Expected AllocationSite in property cell") \ 1111 "Expected AllocationSite in property cell") \
1113 V(kExpectedPropertyCellInRegisterA2, \ 1112 V(kExpectedPropertyCellInRegisterA2, \
1114 "Expected property cell in register a2") \ 1113 "Expected property cell in register a2") \
1115 V(kExpectedPropertyCellInRegisterEbx, \ 1114 V(kExpectedPropertyCellInRegisterEbx, \
1116 "Expected property cell in register ebx") \ 1115 "Expected property cell in register ebx") \
1117 V(kExpectedPropertyCellInRegisterRbx, \ 1116 V(kExpectedPropertyCellInRegisterRbx, \
1118 "Expected property cell in register rbx") \ 1117 "Expected property cell in register rbx") \
1119 V(kExpectingAlignmentForCopyBytes, \ 1118 V(kExpectingAlignmentForCopyBytes, \
1120 "Expecting alignment for CopyBytes") \ 1119 "Expecting alignment for CopyBytes") \
(...skipping 4120 matching lines...) Expand 10 before | Expand all | Expand 10 after
5241 inline ConstantPoolArray* constant_pool(); 5240 inline ConstantPoolArray* constant_pool();
5242 inline void set_constant_pool(Object* constant_pool); 5241 inline void set_constant_pool(Object* constant_pool);
5243 5242
5244 // Get the safepoint entry for the given pc. 5243 // Get the safepoint entry for the given pc.
5245 SafepointEntry GetSafepointEntry(Address pc); 5244 SafepointEntry GetSafepointEntry(Address pc);
5246 5245
5247 // Find an object in a stub with a specified map 5246 // Find an object in a stub with a specified map
5248 Object* FindNthObject(int n, Map* match_map); 5247 Object* FindNthObject(int n, Map* match_map);
5249 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); 5248 void ReplaceNthObject(int n, Map* match_map, Object* replace_with);
5250 5249
5251 // Find the first allocation site in an IC stub.
5252 AllocationSite* FindFirstAllocationSite();
5253
5254 // Find the first map in an IC stub. 5250 // Find the first map in an IC stub.
5255 Map* FindFirstMap(); 5251 Map* FindFirstMap();
5256 void FindAllMaps(MapHandleList* maps); 5252 void FindAllMaps(MapHandleList* maps);
5257 void FindAllTypes(TypeHandleList* types); 5253 void FindAllTypes(TypeHandleList* types);
5258 void ReplaceFirstMap(Map* replace); 5254 void ReplaceFirstMap(Map* replace);
5259 5255
5260 // Find the first handler in an IC stub. 5256 // Find the first handler in an IC stub.
5261 Code* FindFirstHandler(); 5257 Code* FindFirstHandler();
5262 5258
5263 // Find |length| handlers and put them into |code_list|. Returns false if not 5259 // Find |length| handlers and put them into |code_list|. Returns false if not
(...skipping 5362 matching lines...) Expand 10 before | Expand all | Expand 10 after
10626 } else { 10622 } else {
10627 value &= ~(1 << bit_position); 10623 value &= ~(1 << bit_position);
10628 } 10624 }
10629 return value; 10625 return value;
10630 } 10626 }
10631 }; 10627 };
10632 10628
10633 } } // namespace v8::internal 10629 } } // namespace v8::internal
10634 10630
10635 #endif // V8_OBJECTS_H_ 10631 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698