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

Side by Side Diff: src/objects.h

Issue 530783002: Convert Linkage to use MachineSignature. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase. Created 6 years, 3 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/compiler/x64/linkage-x64.cc ('k') | test/cctest/compiler/call-tester.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 V(JSGlobalProxy) \ 1016 V(JSGlobalProxy) \
1017 V(UndetectableObject) \ 1017 V(UndetectableObject) \
1018 V(AccessCheckNeeded) \ 1018 V(AccessCheckNeeded) \
1019 V(Cell) \ 1019 V(Cell) \
1020 V(PropertyCell) \ 1020 V(PropertyCell) \
1021 V(ObjectHashTable) \ 1021 V(ObjectHashTable) \
1022 V(WeakHashTable) \ 1022 V(WeakHashTable) \
1023 V(OrderedHashTable) 1023 V(OrderedHashTable)
1024 1024
1025 1025
1026 #define ERROR_MESSAGES_LIST(V) \ 1026 #define ERROR_MESSAGES_LIST(V) \
1027 V(kNoReason, "no reason") \ 1027 V(kNoReason, "no reason") \
1028 \ 1028 \
1029 V(k32BitValueInRegisterIsNotZeroExtended, \ 1029 V(k32BitValueInRegisterIsNotZeroExtended, \
1030 "32 bit value in register is not zero-extended") \ 1030 "32 bit value in register is not zero-extended") \
1031 V(kAlignmentMarkerExpected, "Alignment marker expected") \ 1031 V(kAlignmentMarkerExpected, "Alignment marker expected") \
1032 V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \ 1032 V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \
1033 V(kAPICallReturnedInvalidObject, "API call returned invalid object") \ 1033 V(kAPICallReturnedInvalidObject, "API call returned invalid object") \
1034 V(kArgumentsObjectValueInATestContext, \ 1034 V(kArgumentsObjectValueInATestContext, \
1035 "Arguments object value in a test context") \ 1035 "Arguments object value in a test context") \
1036 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \ 1036 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \
1037 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ 1037 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \
1038 V(kAssignmentToArguments, "Assignment to arguments") \ 1038 V(kAssignmentToArguments, "Assignment to arguments") \
1039 V(kAssignmentToLetVariableBeforeInitialization, \ 1039 V(kAssignmentToLetVariableBeforeInitialization, \
1040 "Assignment to let variable before initialization") \ 1040 "Assignment to let variable before initialization") \
1041 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \ 1041 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \
1042 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ 1042 V(kAssignmentToParameterFunctionUsesArgumentsObject, \
1043 "Assignment to parameter, function uses arguments object") \ 1043 "Assignment to parameter, function uses arguments object") \
1044 V(kAssignmentToParameterInArgumentsObject, \ 1044 V(kAssignmentToParameterInArgumentsObject, \
1045 "Assignment to parameter in arguments object") \ 1045 "Assignment to parameter in arguments object") \
1046 V(kAttemptToUseUndefinedCache, "Attempt to use undefined cache") \ 1046 V(kAttemptToUseUndefinedCache, "Attempt to use undefined cache") \
1047 V(kBadValueContextForArgumentsObjectValue, \ 1047 V(kBadValueContextForArgumentsObjectValue, \
1048 "Bad value context for arguments object value") \ 1048 "Bad value context for arguments object value") \
1049 V(kBadValueContextForArgumentsValue, \ 1049 V(kBadValueContextForArgumentsValue, \
1050 "Bad value context for arguments value") \ 1050 "Bad value context for arguments value") \
1051 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ 1051 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
1052 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ 1052 V(kBailoutWasNotPrepared, "Bailout was not prepared") \
1053 V(kBinaryStubGenerateFloatingPointCode, \ 1053 V(kBinaryStubGenerateFloatingPointCode, \
1054 "BinaryStub_GenerateFloatingPointCode") \ 1054 "BinaryStub_GenerateFloatingPointCode") \
1055 V(kBothRegistersWereSmisInSelectNonSmi, \ 1055 V(kBothRegistersWereSmisInSelectNonSmi, \
1056 "Both registers were smis in SelectNonSmi") \ 1056 "Both registers were smis in SelectNonSmi") \
1057 V(kCallToAJavaScriptRuntimeFunction, \ 1057 V(kCallToAJavaScriptRuntimeFunction, \
1058 "Call to a JavaScript runtime function") \ 1058 "Call to a JavaScript runtime function") \
1059 V(kCannotTranslatePositionInChangedArea, \ 1059 V(kCannotTranslatePositionInChangedArea, \
1060 "Cannot translate position in changed area") \ 1060 "Cannot translate position in changed area") \
1061 V(kCodeGenerationFailed, "Code generation failed") \ 1061 V(kCodeGenerationFailed, "Code generation failed") \
1062 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ 1062 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \
1063 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ 1063 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \
1064 V(kContextAllocatedArguments, "Context-allocated arguments") \ 1064 V(kContextAllocatedArguments, "Context-allocated arguments") \
1065 V(kCopyBuffersOverlap, "Copy buffers overlap") \ 1065 V(kCopyBuffersOverlap, "Copy buffers overlap") \
1066 V(kCouldNotGenerateZero, "Could not generate +0.0") \ 1066 V(kCouldNotGenerateZero, "Could not generate +0.0") \
1067 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ 1067 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \
1068 V(kDebuggerHasBreakPoints, "Debugger has break points") \ 1068 V(kDebuggerHasBreakPoints, "Debugger has break points") \
1069 V(kDebuggerStatement, "DebuggerStatement") \ 1069 V(kDebuggerStatement, "DebuggerStatement") \
1070 V(kDeclarationInCatchContext, "Declaration in catch context") \ 1070 V(kDeclarationInCatchContext, "Declaration in catch context") \
1071 V(kDeclarationInWithContext, "Declaration in with context") \ 1071 V(kDeclarationInWithContext, "Declaration in with context") \
1072 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ 1072 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \
1073 V(kDeleteWithGlobalVariable, "Delete with global variable") \ 1073 V(kDeleteWithGlobalVariable, "Delete with global variable") \
1074 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ 1074 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \
1075 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ 1075 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \
1076 V(kDontDeleteCellsCannotContainTheHole, \ 1076 V(kDontDeleteCellsCannotContainTheHole, \
1077 "DontDelete cells can't contain the hole") \ 1077 "DontDelete cells can't contain the hole") \
1078 V(kDoPushArgumentNotImplementedForDoubleType, \ 1078 V(kDoPushArgumentNotImplementedForDoubleType, \
1079 "DoPushArgument not implemented for double type") \ 1079 "DoPushArgument not implemented for double type") \
1080 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ 1080 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \
1081 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ 1081 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \
1082 "EmitLoadRegister: Unsupported double immediate") \ 1082 "EmitLoadRegister: Unsupported double immediate") \
1083 V(kEval, "eval") \ 1083 V(kEval, "eval") \
1084 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \ 1084 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \
1085 V(kExpectedAlignmentMarker, "Expected alignment marker") \ 1085 V(kExpectedAlignmentMarker, "Expected alignment marker") \
1086 V(kExpectedAllocationSite, "Expected allocation site") \ 1086 V(kExpectedAllocationSite, "Expected allocation site") \
1087 V(kExpectedFunctionObject, "Expected function object in register") \ 1087 V(kExpectedFunctionObject, "Expected function object in register") \
1088 V(kExpectedHeapNumber, "Expected HeapNumber") \ 1088 V(kExpectedHeapNumber, "Expected HeapNumber") \
1089 V(kExpectedNativeContext, "Expected native context") \ 1089 V(kExpectedNativeContext, "Expected native context") \
1090 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ 1090 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \
1091 V(kExpectedNonNullContext, "Expected non-null context") \ 1091 V(kExpectedNonNullContext, "Expected non-null context") \
1092 V(kExpectedPositiveZero, "Expected +0.0") \ 1092 V(kExpectedPositiveZero, "Expected +0.0") \
1093 V(kExpectedAllocationSiteInCell, "Expected AllocationSite in property cell")\ 1093 V(kExpectedAllocationSiteInCell, "Expected AllocationSite in property cell") \
1094 V(kExpectedFixedArrayInFeedbackVector, \ 1094 V(kExpectedFixedArrayInFeedbackVector, \
1095 "Expected fixed array in feedback vector") \ 1095 "Expected fixed array in feedback vector") \
1096 V(kExpectedFixedArrayInRegisterA2, "Expected fixed array in register a2") \ 1096 V(kExpectedFixedArrayInRegisterA2, "Expected fixed array in register a2") \
1097 V(kExpectedFixedArrayInRegisterEbx, "Expected fixed array in register ebx") \ 1097 V(kExpectedFixedArrayInRegisterEbx, "Expected fixed array in register ebx") \
1098 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \ 1098 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \
1099 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \ 1099 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \
1100 V(kExpectedNewSpaceObject, "Expected new space object") \ 1100 V(kExpectedNewSpaceObject, "Expected new space object") \
1101 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \ 1101 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \
1102 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ 1102 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \
1103 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ 1103 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \
1104 V(kExportDeclaration, "Export declaration") \ 1104 V(kExportDeclaration, "Export declaration") \
1105 V(kExternalStringExpectedButNotFound, \ 1105 V(kExternalStringExpectedButNotFound, \
1106 "External string expected, but not found") \ 1106 "External string expected, but not found") \
1107 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \ 1107 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \
1108 V(kForInStatementIsNotFastCase, "ForInStatement is not fast case") \ 1108 V(kForInStatementIsNotFastCase, "ForInStatement is not fast case") \
1109 V(kForInStatementOptimizationIsDisabled, \ 1109 V(kForInStatementOptimizationIsDisabled, \
1110 "ForInStatement optimization is disabled") \ 1110 "ForInStatement optimization is disabled") \
1111 V(kForInStatementWithNonLocalEachVariable, \ 1111 V(kForInStatementWithNonLocalEachVariable, \
1112 "ForInStatement with non-local each variable") \ 1112 "ForInStatement with non-local each variable") \
1113 V(kForOfStatement, "ForOfStatement") \ 1113 V(kForOfStatement, "ForOfStatement") \
1114 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ 1114 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \
1115 V(kFunctionCallsEval, "Function calls eval") \ 1115 V(kFunctionCallsEval, "Function calls eval") \
1116 V(kFunctionIsAGenerator, "Function is a generator") \ 1116 V(kFunctionIsAGenerator, "Function is a generator") \
1117 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ 1117 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \
1118 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ 1118 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \
1119 V(kGeneratorFailedToResume, "Generator failed to resume") \ 1119 V(kGeneratorFailedToResume, "Generator failed to resume") \
1120 V(kGenerator, "Generator") \ 1120 V(kGenerator, "Generator") \
1121 V(kGlobalFunctionsMustHaveInitialMap, \ 1121 V(kGlobalFunctionsMustHaveInitialMap, \
1122 "Global functions must have initial map") \ 1122 "Global functions must have initial map") \
1123 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ 1123 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \
1124 V(kHydrogenFilter, "Optimization disabled by filter") \ 1124 V(kHydrogenFilter, "Optimization disabled by filter") \
1125 V(kImportDeclaration, "Import declaration") \ 1125 V(kImportDeclaration, "Import declaration") \
1126 V(kImproperObjectOnPrototypeChainForStore, \ 1126 V(kImproperObjectOnPrototypeChainForStore, \
1127 "Improper object on prototype chain for store") \ 1127 "Improper object on prototype chain for store") \
1128 V(kIndexIsNegative, "Index is negative") \ 1128 V(kIndexIsNegative, "Index is negative") \
1129 V(kIndexIsTooLarge, "Index is too large") \ 1129 V(kIndexIsTooLarge, "Index is too large") \
1130 V(kInlinedRuntimeFunctionClassOf, "Inlined runtime function: ClassOf") \ 1130 V(kInlinedRuntimeFunctionClassOf, "Inlined runtime function: ClassOf") \
1131 V(kInlinedRuntimeFunctionFastAsciiArrayJoin, \ 1131 V(kInlinedRuntimeFunctionFastAsciiArrayJoin, \
1132 "Inlined runtime function: FastAsciiArrayJoin") \ 1132 "Inlined runtime function: FastAsciiArrayJoin") \
1133 V(kInlinedRuntimeFunctionGeneratorNext, \ 1133 V(kInlinedRuntimeFunctionGeneratorNext, \
1134 "Inlined runtime function: GeneratorNext") \ 1134 "Inlined runtime function: GeneratorNext") \
1135 V(kInlinedRuntimeFunctionGeneratorThrow, \ 1135 V(kInlinedRuntimeFunctionGeneratorThrow, \
1136 "Inlined runtime function: GeneratorThrow") \ 1136 "Inlined runtime function: GeneratorThrow") \
1137 V(kInlinedRuntimeFunctionGetFromCache, \ 1137 V(kInlinedRuntimeFunctionGetFromCache, \
1138 "Inlined runtime function: GetFromCache") \ 1138 "Inlined runtime function: GetFromCache") \
1139 V(kInlinedRuntimeFunctionIsNonNegativeSmi, \ 1139 V(kInlinedRuntimeFunctionIsNonNegativeSmi, \
1140 "Inlined runtime function: IsNonNegativeSmi") \ 1140 "Inlined runtime function: IsNonNegativeSmi") \
1141 V(kInlinedRuntimeFunctionIsStringWrapperSafeForDefaultValueOf, \ 1141 V(kInlinedRuntimeFunctionIsStringWrapperSafeForDefaultValueOf, \
1142 "Inlined runtime function: IsStringWrapperSafeForDefaultValueOf") \ 1142 "Inlined runtime function: IsStringWrapperSafeForDefaultValueOf") \
1143 V(kInliningBailedOut, "Inlining bailed out") \ 1143 V(kInliningBailedOut, "Inlining bailed out") \
1144 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ 1144 V(kInputGPRIsExpectedToHaveUpper32Cleared, \
1145 "Input GPR is expected to have upper32 cleared") \ 1145 "Input GPR is expected to have upper32 cleared") \
1146 V(kInputStringTooLong, "Input string too long") \ 1146 V(kInputStringTooLong, "Input string too long") \
1147 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ 1147 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \
1148 "InstanceofStub unexpected call site cache (check)") \ 1148 "InstanceofStub unexpected call site cache (check)") \
1149 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ 1149 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \
1150 "InstanceofStub unexpected call site cache (cmp 1)") \ 1150 "InstanceofStub unexpected call site cache (cmp 1)") \
1151 V(kInstanceofStubUnexpectedCallSiteCacheCmp2, \ 1151 V(kInstanceofStubUnexpectedCallSiteCacheCmp2, \
1152 "InstanceofStub unexpected call site cache (cmp 2)") \ 1152 "InstanceofStub unexpected call site cache (cmp 2)") \
1153 V(kInstanceofStubUnexpectedCallSiteCacheMov, \ 1153 V(kInstanceofStubUnexpectedCallSiteCacheMov, \
1154 "InstanceofStub unexpected call site cache (mov)") \ 1154 "InstanceofStub unexpected call site cache (mov)") \
1155 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ 1155 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \
1156 "Integer32ToSmiField writing to non-smi location") \ 1156 "Integer32ToSmiField writing to non-smi location") \
1157 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ 1157 V(kInvalidCaptureReferenced, "Invalid capture referenced") \
1158 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ 1158 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \
1159 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ 1159 "Invalid ElementsKind for InternalArray or InternalPackedArray") \
1160 V(kInvalidFullCodegenState, "invalid full-codegen state") \ 1160 V(kInvalidFullCodegenState, "invalid full-codegen state") \
1161 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ 1161 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \
1162 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ 1162 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \
1163 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ 1163 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \
1164 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ 1164 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \
1165 V(kInvalidMinLength, "Invalid min_length") \ 1165 V(kInvalidMinLength, "Invalid min_length") \
1166 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ 1166 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \
1167 "JSGlobalObject::native_context should be a native context") \ 1167 "JSGlobalObject::native_context should be a native context") \
1168 V(kJSGlobalProxyContextShouldNotBeNull, \ 1168 V(kJSGlobalProxyContextShouldNotBeNull, \
1169 "JSGlobalProxy::context() should not be null") \ 1169 "JSGlobalProxy::context() should not be null") \
1170 V(kJSObjectWithFastElementsMapHasSlowElements, \ 1170 V(kJSObjectWithFastElementsMapHasSlowElements, \
1171 "JSObject with fast elements map has slow elements") \ 1171 "JSObject with fast elements map has slow elements") \
1172 V(kLetBindingReInitialization, "Let binding re-initialization") \ 1172 V(kLetBindingReInitialization, "Let binding re-initialization") \
1173 V(kLhsHasBeenClobbered, "lhs has been clobbered") \ 1173 V(kLhsHasBeenClobbered, "lhs has been clobbered") \
1174 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ 1174 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \
1175 V(kLiveEdit, "LiveEdit") \ 1175 V(kLiveEdit, "LiveEdit") \
1176 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ 1176 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \
1177 V(kMapBecameDeprecated, "Map became deprecated") \ 1177 V(kMapBecameDeprecated, "Map became deprecated") \
1178 V(kMapBecameUnstable, "Map became unstable") \ 1178 V(kMapBecameUnstable, "Map became unstable") \
1179 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ 1179 V(kMapIsNoLongerInEax, "Map is no longer in eax") \
1180 V(kModuleDeclaration, "Module declaration") \ 1180 V(kModuleDeclaration, "Module declaration") \
1181 V(kModuleLiteral, "Module literal") \ 1181 V(kModuleLiteral, "Module literal") \
1182 V(kModulePath, "Module path") \ 1182 V(kModulePath, "Module path") \
1183 V(kModuleStatement, "Module statement") \ 1183 V(kModuleStatement, "Module statement") \
1184 V(kModuleVariable, "Module variable") \ 1184 V(kModuleVariable, "Module variable") \
1185 V(kModuleUrl, "Module url") \ 1185 V(kModuleUrl, "Module url") \
1186 V(kNativeFunctionLiteral, "Native function literal") \ 1186 V(kNativeFunctionLiteral, "Native function literal") \
1187 V(kSuperReference, "Super reference") \ 1187 V(kSuperReference, "Super reference") \
1188 V(kNeedSmiLiteral, "Need a Smi literal here") \ 1188 V(kNeedSmiLiteral, "Need a Smi literal here") \
1189 V(kNoCasesLeft, "No cases left") \ 1189 V(kNoCasesLeft, "No cases left") \
1190 V(kNoEmptyArraysHereInEmitFastAsciiArrayJoin, \ 1190 V(kNoEmptyArraysHereInEmitFastAsciiArrayJoin, \
1191 "No empty arrays here in EmitFastAsciiArrayJoin") \ 1191 "No empty arrays here in EmitFastAsciiArrayJoin") \
1192 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ 1192 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \
1193 V(kNonSmiIndex, "Non-smi index") \ 1193 V(kNonSmiIndex, "Non-smi index") \
1194 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ 1194 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \
1195 V(kNonSmiValue, "Non-smi value") \ 1195 V(kNonSmiValue, "Non-smi value") \
1196 V(kNonObject, "Non-object value") \ 1196 V(kNonObject, "Non-object value") \
1197 V(kNotEnoughVirtualRegistersForValues, \ 1197 V(kNotEnoughVirtualRegistersForValues, \
1198 "Not enough virtual registers for values") \ 1198 "Not enough virtual registers for values") \
1199 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ 1199 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \
1200 V(kNotEnoughVirtualRegistersRegalloc, \ 1200 V(kNotEnoughVirtualRegistersRegalloc, \
1201 "Not enough virtual registers (regalloc)") \ 1201 "Not enough virtual registers (regalloc)") \
1202 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ 1202 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \
1203 V(kObjectLiteralWithComplexProperty, "Object literal with complex property")\ 1203 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \
1204 V(kOddballInStringTableIsNotUndefinedOrTheHole, \ 1204 V(kOddballInStringTableIsNotUndefinedOrTheHole, \
1205 "Oddball in string table is not undefined or the hole") \ 1205 "Oddball in string table is not undefined or the hole") \
1206 V(kOffsetOutOfRange, "Offset out of range") \ 1206 V(kOffsetOutOfRange, "Offset out of range") \
1207 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ 1207 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \
1208 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ 1208 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \
1209 V(kOperandIsASmi, "Operand is a smi") \ 1209 V(kOperandIsASmi, "Operand is a smi") \
1210 V(kOperandIsNotAName, "Operand is not a name") \ 1210 V(kOperandIsNotAName, "Operand is not a name") \
1211 V(kOperandIsNotANumber, "Operand is not a number") \ 1211 V(kOperandIsNotANumber, "Operand is not a number") \
1212 V(kOperandIsNotASmi, "Operand is not a smi") \ 1212 V(kOperandIsNotASmi, "Operand is not a smi") \
1213 V(kOperandIsNotAString, "Operand is not a string") \ 1213 V(kOperandIsNotAString, "Operand is not a string") \
1214 V(kOperandIsNotSmi, "Operand is not smi") \ 1214 V(kOperandIsNotSmi, "Operand is not smi") \
1215 V(kOperandNotANumber, "Operand not a number") \ 1215 V(kOperandNotANumber, "Operand not a number") \
1216 V(kObjectTagged, "The object is tagged") \ 1216 V(kObjectTagged, "The object is tagged") \
1217 V(kObjectNotTagged, "The object is not tagged") \ 1217 V(kObjectNotTagged, "The object is not tagged") \
1218 V(kOptimizationDisabled, "Optimization is disabled") \ 1218 V(kOptimizationDisabled, "Optimization is disabled") \
1219 V(kOptimizedTooManyTimes, "Optimized too many times") \ 1219 V(kOptimizedTooManyTimes, "Optimized too many times") \
1220 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ 1220 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \
1221 "Out of virtual registers while trying to allocate temp register") \ 1221 "Out of virtual registers while trying to allocate temp register") \
1222 V(kParseScopeError, "Parse/scope error") \ 1222 V(kParseScopeError, "Parse/scope error") \
1223 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ 1223 V(kPossibleDirectCallToEval, "Possible direct call to eval") \
1224 V(kPreconditionsWereNotMet, "Preconditions were not met") \ 1224 V(kPreconditionsWereNotMet, "Preconditions were not met") \
1225 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ 1225 V(kPropertyAllocationCountFailed, "Property allocation count failed") \
1226 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ 1226 V(kReceivedInvalidReturnAddress, "Received invalid return address") \
1227 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ 1227 V(kReferenceToAVariableWhichRequiresDynamicLookup, \
1228 "Reference to a variable which requires dynamic lookup") \ 1228 "Reference to a variable which requires dynamic lookup") \
1229 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable")\ 1229 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \
1230 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ 1230 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \
1231 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ 1231 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \
1232 V(kRegisterWasClobbered, "Register was clobbered") \ 1232 V(kRegisterWasClobbered, "Register was clobbered") \
1233 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space")\ 1233 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \
1234 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ 1234 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \
1235 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ 1235 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \
1236 V(kScopedBlock, "ScopedBlock") \ 1236 V(kScopedBlock, "ScopedBlock") \
1237 V(kSmiAdditionOverflow, "Smi addition overflow") \ 1237 V(kSmiAdditionOverflow, "Smi addition overflow") \
1238 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ 1238 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \
1239 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ 1239 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \
1240 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ 1240 V(kStackFrameTypesMustMatch, "Stack frame types must match") \
1241 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \ 1241 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \
1242 "SwitchStatement: mixed or non-literal switch labels") \ 1242 "SwitchStatement: mixed or non-literal switch labels") \
1243 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \ 1243 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \
1244 V(kTheCurrentStackPointerIsBelowCsp, \ 1244 V(kTheCurrentStackPointerIsBelowCsp, \
1245 "The current stack pointer is below csp") \ 1245 "The current stack pointer is below csp") \
1246 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ 1246 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \
1247 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ 1247 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \
1248 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ 1248 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \
1249 "The instruction to patch should be a load from the constant pool") \ 1249 "The instruction to patch should be a load from the constant pool") \
1250 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ 1250 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \
1251 "The instruction to patch should be a ldr literal") \ 1251 "The instruction to patch should be a ldr literal") \
1252 V(kTheInstructionToPatchShouldBeALui, \ 1252 V(kTheInstructionToPatchShouldBeALui, \
1253 "The instruction to patch should be a lui") \ 1253 "The instruction to patch should be a lui") \
1254 V(kTheInstructionToPatchShouldBeAnOri, \ 1254 V(kTheInstructionToPatchShouldBeAnOri, \
1255 "The instruction to patch should be an ori") \ 1255 "The instruction to patch should be an ori") \
1256 V(kTheSourceAndDestinationAreTheSame, \ 1256 V(kTheSourceAndDestinationAreTheSame, \
1257 "The source and destination are the same") \ 1257 "The source and destination are the same") \
1258 V(kTheStackPointerIsNotAligned, "The stack pointer is not aligned.") \ 1258 V(kTheStackPointerIsNotAligned, "The stack pointer is not aligned.") \
1259 V(kTheStackWasCorruptedByMacroAssemblerCall, \ 1259 V(kTheStackWasCorruptedByMacroAssemblerCall, \
1260 "The stack was corrupted by MacroAssembler::Call()") \ 1260 "The stack was corrupted by MacroAssembler::Call()") \
1261 V(kTooManyParametersLocals, "Too many parameters/locals") \ 1261 V(kTooManyParametersLocals, "Too many parameters/locals") \
1262 V(kTooManyParameters, "Too many parameters") \ 1262 V(kTooManyParameters, "Too many parameters") \
1263 V(kTooManySpillSlotsNeededForOSR, "Too many spill slots needed for OSR") \ 1263 V(kTooManySpillSlotsNeededForOSR, "Too many spill slots needed for OSR") \
1264 V(kToOperand32UnsupportedImmediate, "ToOperand32 unsupported immediate.") \ 1264 V(kToOperand32UnsupportedImmediate, "ToOperand32 unsupported immediate.") \
1265 V(kToOperandIsDoubleRegisterUnimplemented, \ 1265 V(kToOperandIsDoubleRegisterUnimplemented, \
1266 "ToOperand IsDoubleRegister unimplemented") \ 1266 "ToOperand IsDoubleRegister unimplemented") \
1267 V(kToOperandUnsupportedDoubleImmediate, \ 1267 V(kToOperandUnsupportedDoubleImmediate, \
1268 "ToOperand Unsupported double immediate") \ 1268 "ToOperand Unsupported double immediate") \
1269 V(kTryCatchStatement, "TryCatchStatement") \ 1269 V(kTryCatchStatement, "TryCatchStatement") \
1270 V(kTryFinallyStatement, "TryFinallyStatement") \ 1270 V(kTryFinallyStatement, "TryFinallyStatement") \
1271 V(kUnableToEncodeValueAsSmi, "Unable to encode value as smi") \ 1271 V(kUnableToEncodeValueAsSmi, "Unable to encode value as smi") \
1272 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \ 1272 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \
1273 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \ 1273 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \
1274 V(kUndefinedValueNotLoaded, "Undefined value not loaded") \ 1274 V(kUndefinedValueNotLoaded, "Undefined value not loaded") \
1275 V(kUndoAllocationOfNonAllocatedMemory, \ 1275 V(kUndoAllocationOfNonAllocatedMemory, \
1276 "Undo allocation of non allocated memory") \ 1276 "Undo allocation of non allocated memory") \
1277 V(kUnexpectedAllocationTop, "Unexpected allocation top") \ 1277 V(kUnexpectedAllocationTop, "Unexpected allocation top") \
1278 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \ 1278 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \
1279 V(kUnexpectedElementsKindInArrayConstructor, \ 1279 V(kUnexpectedElementsKindInArrayConstructor, \
1280 "Unexpected ElementsKind in array constructor") \ 1280 "Unexpected ElementsKind in array constructor") \
1281 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \ 1281 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \
1282 "Unexpected fallthrough from CharCodeAt slow case") \ 1282 "Unexpected fallthrough from CharCodeAt slow case") \
1283 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \ 1283 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \
1284 "Unexpected fallthrough from CharFromCode slow case") \ 1284 "Unexpected fallthrough from CharFromCode slow case") \
1285 V(kUnexpectedFallThroughFromStringComparison, \ 1285 V(kUnexpectedFallThroughFromStringComparison, \
1286 "Unexpected fall-through from string comparison") \ 1286 "Unexpected fall-through from string comparison") \
1287 V(kUnexpectedFallThroughInBinaryStubGenerateFloatingPointCode, \ 1287 V(kUnexpectedFallThroughInBinaryStubGenerateFloatingPointCode, \
1288 "Unexpected fall-through in BinaryStub_GenerateFloatingPointCode") \ 1288 "Unexpected fall-through in BinaryStub_GenerateFloatingPointCode") \
1289 V(kUnexpectedFallthroughToCharCodeAtSlowCase, \ 1289 V(kUnexpectedFallthroughToCharCodeAtSlowCase, \
1290 "Unexpected fallthrough to CharCodeAt slow case") \ 1290 "Unexpected fallthrough to CharCodeAt slow case") \
1291 V(kUnexpectedFallthroughToCharFromCodeSlowCase, \ 1291 V(kUnexpectedFallthroughToCharFromCodeSlowCase, \
1292 "Unexpected fallthrough to CharFromCode slow case") \ 1292 "Unexpected fallthrough to CharFromCode slow case") \
1293 V(kUnexpectedFPUStackDepthAfterInstruction, \ 1293 V(kUnexpectedFPUStackDepthAfterInstruction, \
1294 "Unexpected FPU stack depth after instruction") \ 1294 "Unexpected FPU stack depth after instruction") \
1295 V(kUnexpectedInitialMapForArrayFunction1, \ 1295 V(kUnexpectedInitialMapForArrayFunction1, \
1296 "Unexpected initial map for Array function (1)") \ 1296 "Unexpected initial map for Array function (1)") \
1297 V(kUnexpectedInitialMapForArrayFunction2, \ 1297 V(kUnexpectedInitialMapForArrayFunction2, \
1298 "Unexpected initial map for Array function (2)") \ 1298 "Unexpected initial map for Array function (2)") \
1299 V(kUnexpectedInitialMapForArrayFunction, \ 1299 V(kUnexpectedInitialMapForArrayFunction, \
1300 "Unexpected initial map for Array function") \ 1300 "Unexpected initial map for Array function") \
1301 V(kUnexpectedInitialMapForInternalArrayFunction, \ 1301 V(kUnexpectedInitialMapForInternalArrayFunction, \
1302 "Unexpected initial map for InternalArray function") \ 1302 "Unexpected initial map for InternalArray function") \
1303 V(kUnexpectedLevelAfterReturnFromApiCall, \ 1303 V(kUnexpectedLevelAfterReturnFromApiCall, \
1304 "Unexpected level after return from api call") \ 1304 "Unexpected level after return from api call") \
1305 V(kUnexpectedNegativeValue, "Unexpected negative value") \ 1305 V(kUnexpectedNegativeValue, "Unexpected negative value") \
1306 V(kUnexpectedNumberOfPreAllocatedPropertyFields, \ 1306 V(kUnexpectedNumberOfPreAllocatedPropertyFields, \
1307 "Unexpected number of pre-allocated property fields") \ 1307 "Unexpected number of pre-allocated property fields") \
1308 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ 1308 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \
1309 V(kUnexpectedSmi, "Unexpected smi value") \ 1309 V(kUnexpectedSmi, "Unexpected smi value") \
1310 V(kUnexpectedStringFunction, "Unexpected String function") \ 1310 V(kUnexpectedStringFunction, "Unexpected String function") \
1311 V(kUnexpectedStringType, "Unexpected string type") \ 1311 V(kUnexpectedStringType, "Unexpected string type") \
1312 V(kUnexpectedStringWrapperInstanceSize, \ 1312 V(kUnexpectedStringWrapperInstanceSize, \
1313 "Unexpected string wrapper instance size") \ 1313 "Unexpected string wrapper instance size") \
1314 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ 1314 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \
1315 "Unexpected type for RegExp data, FixedArray expected") \ 1315 "Unexpected type for RegExp data, FixedArray expected") \
1316 V(kUnexpectedValue, "Unexpected value") \ 1316 V(kUnexpectedValue, "Unexpected value") \
1317 V(kUnexpectedUnusedPropertiesOfStringWrapper, \ 1317 V(kUnexpectedUnusedPropertiesOfStringWrapper, \
1318 "Unexpected unused properties of string wrapper") \ 1318 "Unexpected unused properties of string wrapper") \
1319 V(kUnimplemented, "unimplemented") \ 1319 V(kUnimplemented, "unimplemented") \
1320 V(kUninitializedKSmiConstantRegister, "Uninitialized kSmiConstantRegister") \ 1320 V(kUninitializedKSmiConstantRegister, "Uninitialized kSmiConstantRegister") \
1321 V(kUnknown, "Unknown") \ 1321 V(kUnknown, "Unknown") \
1322 V(kUnsupportedConstCompoundAssignment, \ 1322 V(kUnsupportedConstCompoundAssignment, \
1323 "Unsupported const compound assignment") \ 1323 "Unsupported const compound assignment") \
1324 V(kUnsupportedCountOperationWithConst, \ 1324 V(kUnsupportedCountOperationWithConst, \
1325 "Unsupported count operation with const") \ 1325 "Unsupported count operation with const") \
1326 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ 1326 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \
1327 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ 1327 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
1328 V(kUnsupportedLookupSlotInDeclaration, \ 1328 V(kUnsupportedLookupSlotInDeclaration, \
1329 "Unsupported lookup slot in declaration") \ 1329 "Unsupported lookup slot in declaration") \
1330 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 1330 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
1331 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 1331 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
1332 V(kUnsupportedPhiUseOfConstVariable, \ 1332 V(kUnsupportedPhiUseOfConstVariable, \
1333 "Unsupported phi use of const variable") \ 1333 "Unsupported phi use of const variable") \
1334 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 1334 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
1335 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 1335 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
1336 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 1336 V(kWeShouldNotHaveAnEmptyLexicalContext, \
1337 "We should not have an empty lexical context") \ 1337 "We should not have an empty lexical context") \
1338 V(kWithStatement, "WithStatement") \ 1338 V(kWithStatement, "WithStatement") \
1339 V(kWrongAddressOrValuePassedToRecordWrite, \ 1339 V(kWrongFunctionContext, "Wrong context passed to function") \
1340 "Wrong address or value passed to RecordWrite") \ 1340 V(kWrongAddressOrValuePassedToRecordWrite, \
1341 "Wrong address or value passed to RecordWrite") \
1341 V(kYield, "Yield") 1342 V(kYield, "Yield")
1342 1343
1343 1344
1344 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 1345 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
1345 enum BailoutReason { 1346 enum BailoutReason {
1346 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) 1347 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS)
1347 kLastErrorMessage 1348 kLastErrorMessage
1348 }; 1349 };
1349 #undef ERROR_MESSAGES_CONSTANTS 1350 #undef ERROR_MESSAGES_CONSTANTS
1350 1351
(...skipping 9803 matching lines...) Expand 10 before | Expand all | Expand 10 after
11154 } else { 11155 } else {
11155 value &= ~(1 << bit_position); 11156 value &= ~(1 << bit_position);
11156 } 11157 }
11157 return value; 11158 return value;
11158 } 11159 }
11159 }; 11160 };
11160 11161
11161 } } // namespace v8::internal 11162 } } // namespace v8::internal
11162 11163
11163 #endif // V8_OBJECTS_H_ 11164 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/linkage-x64.cc ('k') | test/cctest/compiler/call-tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698