| 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 21 matching lines...) Expand all Loading... |
| 32 define READ_ONLY = 1; | 32 define READ_ONLY = 1; |
| 33 define DONT_ENUM = 2; | 33 define DONT_ENUM = 2; |
| 34 define DONT_DELETE = 4; | 34 define DONT_DELETE = 4; |
| 35 define NEW_ONE_BYTE_STRING = true; | 35 define NEW_ONE_BYTE_STRING = true; |
| 36 define NEW_TWO_BYTE_STRING = false; | 36 define NEW_TWO_BYTE_STRING = false; |
| 37 | 37 |
| 38 # Constants used for getter and setter operations. | 38 # Constants used for getter and setter operations. |
| 39 define GETTER = 0; | 39 define GETTER = 0; |
| 40 define SETTER = 1; | 40 define SETTER = 1; |
| 41 | 41 |
| 42 define NO_HINT = 0; | |
| 43 define NUMBER_HINT = 1; | |
| 44 define STRING_HINT = 2; | |
| 45 | |
| 46 # For date.js. | 42 # For date.js. |
| 47 define HoursPerDay = 24; | 43 define HoursPerDay = 24; |
| 48 define MinutesPerHour = 60; | 44 define MinutesPerHour = 60; |
| 49 define SecondsPerMinute = 60; | 45 define SecondsPerMinute = 60; |
| 50 define msPerSecond = 1000; | 46 define msPerSecond = 1000; |
| 51 define msPerMinute = 60000; | 47 define msPerMinute = 60000; |
| 52 define msPerHour = 3600000; | 48 define msPerHour = 3600000; |
| 53 define msPerDay = 86400000; | 49 define msPerDay = 86400000; |
| 54 define msPerMonth = 2592000000; | 50 define msPerMonth = 2592000000; |
| 55 | 51 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 define NOT_FOUND = -1; | 303 define NOT_FOUND = -1; |
| 308 | 304 |
| 309 # Check whether debug is active. | 305 # Check whether debug is active. |
| 310 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); | 306 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); |
| 311 macro DEBUG_IS_STEPPING(function) = (%_DebugIsActive() != 0 && %DebugCallbackSup
portsStepping(function)); | 307 macro DEBUG_IS_STEPPING(function) = (%_DebugIsActive() != 0 && %DebugCallbackSup
portsStepping(function)); |
| 312 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (DEBUG_IS_STEPPING(functi
on)) %DebugPrepareStepInIfStepping(function); | 308 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (DEBUG_IS_STEPPING(functi
on)) %DebugPrepareStepInIfStepping(function); |
| 313 | 309 |
| 314 # SharedFlag equivalents | 310 # SharedFlag equivalents |
| 315 define kNotShared = false; | 311 define kNotShared = false; |
| 316 define kShared = true; | 312 define kShared = true; |
| OLD | NEW |