OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 4645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4656 | 4656 |
4657 // Return the name of the given context local. | 4657 // Return the name of the given context local. |
4658 String* ContextLocalName(int var); | 4658 String* ContextLocalName(int var); |
4659 | 4659 |
4660 // Return the mode of the given context local. | 4660 // Return the mode of the given context local. |
4661 VariableMode ContextLocalMode(int var); | 4661 VariableMode ContextLocalMode(int var); |
4662 | 4662 |
4663 // Return the initialization flag of the given context local. | 4663 // Return the initialization flag of the given context local. |
4664 InitializationFlag ContextLocalInitFlag(int var); | 4664 InitializationFlag ContextLocalInitFlag(int var); |
4665 | 4665 |
| 4666 // Return true if this local was introduced by the compiler, and should not be |
| 4667 // exposed to the user in a debugger. |
| 4668 bool LocalIsSynthetic(int var); |
| 4669 |
4666 // Lookup support for serialized scope info. Returns the | 4670 // Lookup support for serialized scope info. Returns the |
4667 // the stack slot index for a given slot name if the slot is | 4671 // the stack slot index for a given slot name if the slot is |
4668 // present; otherwise returns a value < 0. The name must be an internalized | 4672 // present; otherwise returns a value < 0. The name must be an internalized |
4669 // string. | 4673 // string. |
4670 int StackSlotIndex(String* name); | 4674 int StackSlotIndex(String* name); |
4671 | 4675 |
4672 // Lookup support for serialized scope info. Returns the | 4676 // Lookup support for serialized scope info. Returns the |
4673 // context slot index for a given slot name if the slot is present; otherwise | 4677 // context slot index for a given slot name if the slot is present; otherwise |
4674 // returns a value < 0. The name must be an internalized string. | 4678 // returns a value < 0. The name must be an internalized string. |
4675 // If the slot is present and mode != NULL, sets *mode to the corresponding | 4679 // If the slot is present and mode != NULL, sets *mode to the corresponding |
(...skipping 6603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11279 } else { | 11283 } else { |
11280 value &= ~(1 << bit_position); | 11284 value &= ~(1 << bit_position); |
11281 } | 11285 } |
11282 return value; | 11286 return value; |
11283 } | 11287 } |
11284 }; | 11288 }; |
11285 | 11289 |
11286 } } // namespace v8::internal | 11290 } } // namespace v8::internal |
11287 | 11291 |
11288 #endif // V8_OBJECTS_H_ | 11292 #endif // V8_OBJECTS_H_ |
OLD | NEW |