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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 # PropertyDescriptor return value indices - must match | 173 # PropertyDescriptor return value indices - must match |
174 # PropertyDescriptorIndices in runtime.cc. | 174 # PropertyDescriptorIndices in runtime.cc. |
175 const IS_ACCESSOR_INDEX = 0; | 175 const IS_ACCESSOR_INDEX = 0; |
176 const VALUE_INDEX = 1; | 176 const VALUE_INDEX = 1; |
177 const GETTER_INDEX = 2; | 177 const GETTER_INDEX = 2; |
178 const SETTER_INDEX = 3; | 178 const SETTER_INDEX = 3; |
179 const WRITABLE_INDEX = 4; | 179 const WRITABLE_INDEX = 4; |
180 const ENUMERABLE_INDEX = 5; | 180 const ENUMERABLE_INDEX = 5; |
181 const CONFIGURABLE_INDEX = 6; | 181 const CONFIGURABLE_INDEX = 6; |
| 182 |
| 183 # For messages.js |
| 184 # Matches Script::Type from objects.h |
| 185 const TYPE_NATIVE = 0; |
| 186 const TYPE_EXTENSION = 1; |
| 187 const TYPE_NORMAL = 2; |
| 188 |
| 189 # Matches Script::CompilationType from objects.h |
| 190 const COMPILATION_TYPE_HOST = 0; |
| 191 const COMPILATION_TYPE_EVAL = 1; |
| 192 const COMPILATION_TYPE_JSON = 2; |
| 193 |
| 194 # Matches Messages::kNoLineNumberInfo from v8.h |
| 195 const kNoLineNumberInfo = 0; |
OLD | NEW |