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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 define TYPE_NORMAL = 2; | 266 define TYPE_NORMAL = 2; |
267 | 267 |
268 # Matches Script::CompilationType from objects.h | 268 # Matches Script::CompilationType from objects.h |
269 define COMPILATION_TYPE_HOST = 0; | 269 define COMPILATION_TYPE_HOST = 0; |
270 define COMPILATION_TYPE_EVAL = 1; | 270 define COMPILATION_TYPE_EVAL = 1; |
271 define COMPILATION_TYPE_JSON = 2; | 271 define COMPILATION_TYPE_JSON = 2; |
272 | 272 |
273 # Matches Messages::kNoLineNumberInfo from v8.h | 273 # Matches Messages::kNoLineNumberInfo from v8.h |
274 define kNoLineNumberInfo = 0; | 274 define kNoLineNumberInfo = 0; |
275 | 275 |
276 # Matches PropertyAttributes from property-details.h | 276 # Deprecated, do not use. Will be replaced by PropertyFilter. |
277 define PROPERTY_ATTRIBUTES_NONE = 0; | |
278 define PROPERTY_ATTRIBUTES_STRING = 8; | 277 define PROPERTY_ATTRIBUTES_STRING = 8; |
279 define PROPERTY_ATTRIBUTES_SYMBOLIC = 16; | 278 define PROPERTY_ATTRIBUTES_SYMBOLIC = 16; |
280 define PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; | 279 define PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; |
281 | 280 |
282 # Use for keys, values and entries iterators. | 281 # Use for keys, values and entries iterators. |
283 define ITERATOR_KIND_KEYS = 1; | 282 define ITERATOR_KIND_KEYS = 1; |
284 define ITERATOR_KIND_VALUES = 2; | 283 define ITERATOR_KIND_VALUES = 2; |
285 define ITERATOR_KIND_ENTRIES = 3; | 284 define ITERATOR_KIND_ENTRIES = 3; |
286 | 285 |
287 macro FIXED_ARRAY_GET(array, index) = (%_FixedArrayGet(array, (index) | 0)); | 286 macro FIXED_ARRAY_GET(array, index) = (%_FixedArrayGet(array, (index) | 0)); |
(...skipping 23 matching lines...) Expand all Loading... |
311 # Must match OrderedHashTable::kNotFound. | 310 # Must match OrderedHashTable::kNotFound. |
312 define NOT_FOUND = -1; | 311 define NOT_FOUND = -1; |
313 | 312 |
314 # Check whether debug is active. | 313 # Check whether debug is active. |
315 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); | 314 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); |
316 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (%_DebugIsActive() != 0)
%DebugPrepareStepInIfStepping(function); | 315 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (%_DebugIsActive() != 0)
%DebugPrepareStepInIfStepping(function); |
317 | 316 |
318 # SharedFlag equivalents | 317 # SharedFlag equivalents |
319 define kNotShared = false; | 318 define kNotShared = false; |
320 define kShared = true; | 319 define kShared = true; |
OLD | NEW |