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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; | 271 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; |
272 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; | 272 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; |
273 | 273 |
274 # Use for keys, values and entries iterators. | 274 # Use for keys, values and entries iterators. |
275 const ITERATOR_KIND_KEYS = 1; | 275 const ITERATOR_KIND_KEYS = 1; |
276 const ITERATOR_KIND_VALUES = 2; | 276 const ITERATOR_KIND_VALUES = 2; |
277 const ITERATOR_KIND_ENTRIES = 3; | 277 const ITERATOR_KIND_ENTRIES = 3; |
278 | 278 |
279 # Check whether debug is active. | 279 # Check whether debug is active. |
280 const DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); | 280 const DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); |
281 macro DEBUG_IS_STEPPING(function) = (%_DebugIsActive() != 0 && %DebugCallbackSup
portsStepping(function)); | 281 macro DEBUG_IS_STEPPING() = (%_DebugIsActive() != 0 && %DebugIsStepping()); |
282 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (DEBUG_IS_STEPPING(functi
on)) %DebugPrepareStepInIfStepping(function); | 282 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (DEBUG_IS_STEPPING()) %De
bugPrepareStepInIfStepping(function); |
OLD | NEW |