OLD | NEW |
1 # Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 # Copyright 2006-2009 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 24 matching lines...) Expand all Loading... |
35 const NEW_ONE_BYTE_STRING = true; | 35 const NEW_ONE_BYTE_STRING = true; |
36 const NEW_TWO_BYTE_STRING = false; | 36 const NEW_TWO_BYTE_STRING = false; |
37 | 37 |
38 # Constants used for getter and setter operations. | 38 # Constants used for getter and setter operations. |
39 const GETTER = 0; | 39 const GETTER = 0; |
40 const SETTER = 1; | 40 const SETTER = 1; |
41 | 41 |
42 # These definitions must match the index of the properties in objects.h. | 42 # These definitions must match the index of the properties in objects.h. |
43 const kApiTagOffset = 0; | 43 const kApiTagOffset = 0; |
44 const kApiPropertyListOffset = 1; | 44 const kApiPropertyListOffset = 1; |
45 const kApiSerialNumberOffset = 2; | 45 const kApiSerialNumberOffset = 3; |
46 const kApiConstructorOffset = 2; | 46 const kApiConstructorOffset = 3; |
47 const kApiPrototypeTemplateOffset = 5; | 47 const kApiPrototypeTemplateOffset = 5; |
48 const kApiParentTemplateOffset = 6; | 48 const kApiParentTemplateOffset = 6; |
49 const kApiFlagOffset = 14; | 49 const kApiFlagOffset = 14; |
50 | 50 |
51 const NO_HINT = 0; | 51 const NO_HINT = 0; |
52 const NUMBER_HINT = 1; | 52 const NUMBER_HINT = 1; |
53 const STRING_HINT = 2; | 53 const STRING_HINT = 2; |
54 | 54 |
55 const kFunctionTag = 0; | 55 const kFunctionTag = 0; |
56 const kNewObjectTag = 1; | 56 const kNewObjectTag = 1; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 const TYPE_EXTENSION = 1; | 240 const TYPE_EXTENSION = 1; |
241 const TYPE_NORMAL = 2; | 241 const TYPE_NORMAL = 2; |
242 | 242 |
243 # Matches Script::CompilationType from objects.h | 243 # Matches Script::CompilationType from objects.h |
244 const COMPILATION_TYPE_HOST = 0; | 244 const COMPILATION_TYPE_HOST = 0; |
245 const COMPILATION_TYPE_EVAL = 1; | 245 const COMPILATION_TYPE_EVAL = 1; |
246 const COMPILATION_TYPE_JSON = 2; | 246 const COMPILATION_TYPE_JSON = 2; |
247 | 247 |
248 # Matches Messages::kNoLineNumberInfo from v8.h | 248 # Matches Messages::kNoLineNumberInfo from v8.h |
249 const kNoLineNumberInfo = 0; | 249 const kNoLineNumberInfo = 0; |
OLD | NEW |