OLD | NEW |
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/builtins.h" | 10 #include "src/builtins.h" |
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 1224 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
1225 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 1225 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
1226 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 1226 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
1227 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \ | 1227 V(kSwitchStatementMixedOrNonLiteralSwitchLabels, \ |
1228 "SwitchStatement: mixed or non-literal switch labels") \ | 1228 "SwitchStatement: mixed or non-literal switch labels") \ |
1229 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \ | 1229 V(kSwitchStatementTooManyClauses, "SwitchStatement: too many clauses") \ |
1230 V(kTheCurrentStackPointerIsBelowCsp, \ | 1230 V(kTheCurrentStackPointerIsBelowCsp, \ |
1231 "The current stack pointer is below csp") \ | 1231 "The current stack pointer is below csp") \ |
1232 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ | 1232 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ |
1233 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ | 1233 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ |
1234 V(kTheInstructionToPatchShouldBeALoadFromPc, \ | 1234 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ |
1235 "The instruction to patch should be a load from pc") \ | 1235 "The instruction to patch should be a load from the constant pool") \ |
1236 V(kTheInstructionToPatchShouldBeALoadFromPp, \ | |
1237 "The instruction to patch should be a load from pp") \ | |
1238 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ | 1236 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ |
1239 "The instruction to patch should be a ldr literal") \ | 1237 "The instruction to patch should be a ldr literal") \ |
1240 V(kTheInstructionToPatchShouldBeALui, \ | 1238 V(kTheInstructionToPatchShouldBeALui, \ |
1241 "The instruction to patch should be a lui") \ | 1239 "The instruction to patch should be a lui") \ |
1242 V(kTheInstructionToPatchShouldBeAnOri, \ | 1240 V(kTheInstructionToPatchShouldBeAnOri, \ |
1243 "The instruction to patch should be an ori") \ | 1241 "The instruction to patch should be an ori") \ |
1244 V(kTheSourceAndDestinationAreTheSame, \ | 1242 V(kTheSourceAndDestinationAreTheSame, \ |
1245 "The source and destination are the same") \ | 1243 "The source and destination are the same") \ |
1246 V(kTheStackPointerIsNotAligned, "The stack pointer is not aligned.") \ | 1244 V(kTheStackPointerIsNotAligned, "The stack pointer is not aligned.") \ |
1247 V(kTheStackWasCorruptedByMacroAssemblerCall, \ | 1245 V(kTheStackWasCorruptedByMacroAssemblerCall, \ |
(...skipping 9996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11244 } else { | 11242 } else { |
11245 value &= ~(1 << bit_position); | 11243 value &= ~(1 << bit_position); |
11246 } | 11244 } |
11247 return value; | 11245 return value; |
11248 } | 11246 } |
11249 }; | 11247 }; |
11250 | 11248 |
11251 } } // namespace v8::internal | 11249 } } // namespace v8::internal |
11252 | 11250 |
11253 #endif // V8_OBJECTS_H_ | 11251 #endif // V8_OBJECTS_H_ |
OLD | NEW |