OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 V(this_symbol, "this") \ | 177 V(this_symbol, "this") \ |
178 V(to_string_symbol, "toString") \ | 178 V(to_string_symbol, "toString") \ |
179 V(char_at_symbol, "CharAt") \ | 179 V(char_at_symbol, "CharAt") \ |
180 V(undefined_symbol, "undefined") \ | 180 V(undefined_symbol, "undefined") \ |
181 V(value_of_symbol, "valueOf") \ | 181 V(value_of_symbol, "valueOf") \ |
182 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ | 182 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ |
183 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ | 183 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ |
184 V(KeyedLoadSpecialized_symbol, "KeyedLoadSpecialized") \ | 184 V(KeyedLoadSpecialized_symbol, "KeyedLoadSpecialized") \ |
185 V(KeyedStoreSpecialized_symbol, "KeyedStoreSpecialized") \ | 185 V(KeyedStoreSpecialized_symbol, "KeyedStoreSpecialized") \ |
186 V(KeyedLoadPixelArray_symbol, "KeyedLoadPixelArray") \ | 186 V(KeyedLoadPixelArray_symbol, "KeyedLoadPixelArray") \ |
| 187 V(KeyedStorePixelArray_symbol, "KeyedStorePixelArray") \ |
187 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ | 188 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ |
188 V(illegal_access_symbol, "illegal access") \ | 189 V(illegal_access_symbol, "illegal access") \ |
189 V(out_of_memory_symbol, "out-of-memory") \ | 190 V(out_of_memory_symbol, "out-of-memory") \ |
190 V(illegal_execution_state_symbol, "illegal execution state") \ | 191 V(illegal_execution_state_symbol, "illegal execution state") \ |
191 V(get_symbol, "get") \ | 192 V(get_symbol, "get") \ |
192 V(set_symbol, "set") \ | 193 V(set_symbol, "set") \ |
193 V(function_class_symbol, "Function") \ | 194 V(function_class_symbol, "Function") \ |
194 V(illegal_argument_symbol, "illegal argument") \ | 195 V(illegal_argument_symbol, "illegal argument") \ |
195 V(MakeReferenceError_symbol, "MakeReferenceError") \ | 196 V(MakeReferenceError_symbol, "MakeReferenceError") \ |
196 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ | 197 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ |
(...skipping 1950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2147 // Return whether this object should be retained. If NULL is returned the | 2148 // Return whether this object should be retained. If NULL is returned the |
2148 // object has no references. Otherwise the address of the retained object | 2149 // object has no references. Otherwise the address of the retained object |
2149 // should be returned as in some GC situations the object has been moved. | 2150 // should be returned as in some GC situations the object has been moved. |
2150 virtual Object* RetainAs(Object* object) = 0; | 2151 virtual Object* RetainAs(Object* object) = 0; |
2151 }; | 2152 }; |
2152 | 2153 |
2153 | 2154 |
2154 } } // namespace v8::internal | 2155 } } // namespace v8::internal |
2155 | 2156 |
2156 #endif // V8_HEAP_H_ | 2157 #endif // V8_HEAP_H_ |
OLD | NEW |