| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 Handle<FixedArray> second); | 306 Handle<FixedArray> second); |
| 307 | 307 |
| 308 Handle<String> SubString(Handle<String> str, | 308 Handle<String> SubString(Handle<String> str, |
| 309 int start, | 309 int start, |
| 310 int end, | 310 int end, |
| 311 PretenureFlag pretenure = NOT_TENURED); | 311 PretenureFlag pretenure = NOT_TENURED); |
| 312 | 312 |
| 313 // Sets the expected number of properties for the function's instances. | 313 // Sets the expected number of properties for the function's instances. |
| 314 void SetExpectedNofProperties(Handle<JSFunction> func, int nof); | 314 void SetExpectedNofProperties(Handle<JSFunction> func, int nof); |
| 315 | 315 |
| 316 // Sets the prototype property for a function instance. | |
| 317 void SetPrototypeProperty(Handle<JSFunction> func, Handle<JSObject> value); | |
| 318 | |
| 319 // Sets the expected number of properties based on estimate from compiler. | 316 // Sets the expected number of properties based on estimate from compiler. |
| 320 void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, | 317 void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, |
| 321 int estimate); | 318 int estimate); |
| 322 | 319 |
| 323 | 320 |
| 324 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( | 321 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( |
| 325 Handle<JSFunction> constructor, | 322 Handle<JSFunction> constructor, |
| 326 Handle<JSGlobalProxy> global); | 323 Handle<JSGlobalProxy> global); |
| 327 | 324 |
| 328 Handle<Object> SetPrototype(Handle<JSFunction> function, | 325 Handle<Object> SetPrototype(Handle<JSFunction> function, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 352 private: | 349 private: |
| 353 Isolate* isolate_; | 350 Isolate* isolate_; |
| 354 Object** limit_; | 351 Object** limit_; |
| 355 int level_; | 352 int level_; |
| 356 #endif | 353 #endif |
| 357 }; | 354 }; |
| 358 | 355 |
| 359 } } // namespace v8::internal | 356 } } // namespace v8::internal |
| 360 | 357 |
| 361 #endif // V8_HANDLES_H_ | 358 #endif // V8_HANDLES_H_ |
| OLD | NEW |