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

Side by Side Diff: src/objects.h

Issue 148573005: A64: Synchronize with r16249. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/mips/macro-assembler-mips.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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 V(kAssignmentToLOOKUPVariable, "assignment to LOOKUP variable") \ 1071 V(kAssignmentToLOOKUPVariable, "assignment to LOOKUP variable") \
1072 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ 1072 V(kAssignmentToParameterFunctionUsesArgumentsObject, \
1073 "assignment to parameter, function uses arguments object") \ 1073 "assignment to parameter, function uses arguments object") \
1074 V(kAssignmentToParameterInArgumentsObject, \ 1074 V(kAssignmentToParameterInArgumentsObject, \
1075 "assignment to parameter in arguments object") \ 1075 "assignment to parameter in arguments object") \
1076 V(kAttemptToUseUndefinedCache, "Attempt to use undefined cache") \ 1076 V(kAttemptToUseUndefinedCache, "Attempt to use undefined cache") \
1077 V(kBadValueContextForArgumentsObjectValue, \ 1077 V(kBadValueContextForArgumentsObjectValue, \
1078 "bad value context for arguments object value") \ 1078 "bad value context for arguments object value") \
1079 V(kBadValueContextForArgumentsValue, \ 1079 V(kBadValueContextForArgumentsValue, \
1080 "bad value context for arguments value") \ 1080 "bad value context for arguments value") \
1081 V(kBailedOutDueToDependentMap, "bailed out due to dependent map") \ 1081 V(kBailedOutDueToDependencyChange, "bailed out due to dependency change") \
1082 V(kBailoutWasNotPrepared, "bailout was not prepared") \ 1082 V(kBailoutWasNotPrepared, "bailout was not prepared") \
1083 V(kBinaryStubGenerateFloatingPointCode, \ 1083 V(kBinaryStubGenerateFloatingPointCode, \
1084 "BinaryStub_GenerateFloatingPointCode") \ 1084 "BinaryStub_GenerateFloatingPointCode") \
1085 V(kBothRegistersWereSmisInSelectNonSmi, \ 1085 V(kBothRegistersWereSmisInSelectNonSmi, \
1086 "Both registers were smis in SelectNonSmi") \ 1086 "Both registers were smis in SelectNonSmi") \
1087 V(kCallToAJavaScriptRuntimeFunction, \ 1087 V(kCallToAJavaScriptRuntimeFunction, \
1088 "call to a JavaScript runtime function") \ 1088 "call to a JavaScript runtime function") \
1089 V(kCannotTranslatePositionInChangedArea, \ 1089 V(kCannotTranslatePositionInChangedArea, \
1090 "Cannot translate position in changed area") \ 1090 "Cannot translate position in changed area") \
1091 V(kCodeGenerationFailed, "code generation failed") \ 1091 V(kCodeGenerationFailed, "code generation failed") \
(...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after
2690 inline void PrintTransitions() { 2690 inline void PrintTransitions() {
2691 PrintTransitions(stdout); 2691 PrintTransitions(stdout);
2692 } 2692 }
2693 void PrintTransitions(FILE* out); 2693 void PrintTransitions(FILE* out);
2694 #endif 2694 #endif
2695 2695
2696 void PrintElementsTransition( 2696 void PrintElementsTransition(
2697 FILE* file, ElementsKind from_kind, FixedArrayBase* from_elements, 2697 FILE* file, ElementsKind from_kind, FixedArrayBase* from_elements,
2698 ElementsKind to_kind, FixedArrayBase* to_elements); 2698 ElementsKind to_kind, FixedArrayBase* to_elements);
2699 2699
2700 void PrintInstanceMigration(FILE* file, Map* original_map, Map* new_map);
2701
2700 #ifdef DEBUG 2702 #ifdef DEBUG
2701 // Structure for collecting spill information about JSObjects. 2703 // Structure for collecting spill information about JSObjects.
2702 class SpillInformation { 2704 class SpillInformation {
2703 public: 2705 public:
2704 void Clear(); 2706 void Clear();
2705 void Print(); 2707 void Print();
2706 int number_of_objects_; 2708 int number_of_objects_;
2707 int number_of_objects_with_fast_properties_; 2709 int number_of_objects_with_fast_properties_;
2708 int number_of_objects_with_fast_elements_; 2710 int number_of_objects_with_fast_elements_;
2709 int number_of_fast_used_fields_; 2711 int number_of_fast_used_fields_;
(...skipping 2931 matching lines...) Expand 10 before | Expand all | Expand 10 after
5641 int target_unused); 5643 int target_unused);
5642 static Handle<Map> GeneralizeRepresentation( 5644 static Handle<Map> GeneralizeRepresentation(
5643 Handle<Map> map, 5645 Handle<Map> map,
5644 int modify_index, 5646 int modify_index,
5645 Representation new_representation); 5647 Representation new_representation);
5646 MUST_USE_RESULT MaybeObject* GeneralizeRepresentation( 5648 MUST_USE_RESULT MaybeObject* GeneralizeRepresentation(
5647 int modify_index, 5649 int modify_index,
5648 Representation representation); 5650 Representation representation);
5649 MUST_USE_RESULT MaybeObject* CopyGeneralizeAllRepresentations(); 5651 MUST_USE_RESULT MaybeObject* CopyGeneralizeAllRepresentations();
5650 5652
5653 void PrintGeneralization(FILE* file,
5654 int modify_index,
5655 int split,
5656 int descriptors,
5657 Representation old_representation,
5658 Representation new_representation);
5659
5660 // Returns the constructor name (the name (possibly, inferred name) of the
5661 // function that was used to instantiate the object).
5662 String* constructor_name();
5663
5651 // Tells whether the map is attached to SharedFunctionInfo 5664 // Tells whether the map is attached to SharedFunctionInfo
5652 // (for inobject slack tracking). 5665 // (for inobject slack tracking).
5653 inline void set_attached_to_shared_function_info(bool value); 5666 inline void set_attached_to_shared_function_info(bool value);
5654 5667
5655 inline bool attached_to_shared_function_info(); 5668 inline bool attached_to_shared_function_info();
5656 5669
5657 // Tells whether the map is shared between objects that may have different 5670 // Tells whether the map is shared between objects that may have different
5658 // behavior. If true, the map should never be modified, instead a clone 5671 // behavior. If true, the map should never be modified, instead a clone
5659 // should be created and modified. 5672 // should be created and modified.
5660 inline void set_is_shared(bool value); 5673 inline void set_is_shared(bool value);
(...skipping 4535 matching lines...) Expand 10 before | Expand all | Expand 10 after
10196 } else { 10209 } else {
10197 value &= ~(1 << bit_position); 10210 value &= ~(1 << bit_position);
10198 } 10211 }
10199 return value; 10212 return value;
10200 } 10213 }
10201 }; 10214 };
10202 10215
10203 } } // namespace v8::internal 10216 } } // namespace v8::internal
10204 10217
10205 #endif // V8_OBJECTS_H_ 10218 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698