| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 bool EnsureCompiled(Handle<SharedFunctionInfo> shared, | 335 bool EnsureCompiled(Handle<SharedFunctionInfo> shared, |
| 336 ClearExceptionFlag flag); | 336 ClearExceptionFlag flag); |
| 337 | 337 |
| 338 bool CompileLazyShared(Handle<SharedFunctionInfo> shared, | 338 bool CompileLazyShared(Handle<SharedFunctionInfo> shared, |
| 339 ClearExceptionFlag flag); | 339 ClearExceptionFlag flag); |
| 340 | 340 |
| 341 bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag); | 341 bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag); |
| 342 | 342 |
| 343 bool CompileLazyInLoop(Handle<JSFunction> function, ClearExceptionFlag flag); | 343 bool CompileLazyInLoop(Handle<JSFunction> function, ClearExceptionFlag flag); |
| 344 | 344 |
| 345 bool CompileOptimized(Handle<JSFunction> function, int osr_ast_id); | 345 bool CompileOptimized(Handle<JSFunction> function, AstId osr_ast_id); |
| 346 | 346 |
| 347 class NoHandleAllocation BASE_EMBEDDED { | 347 class NoHandleAllocation BASE_EMBEDDED { |
| 348 public: | 348 public: |
| 349 #ifndef DEBUG | 349 #ifndef DEBUG |
| 350 NoHandleAllocation() {} | 350 NoHandleAllocation() {} |
| 351 ~NoHandleAllocation() {} | 351 ~NoHandleAllocation() {} |
| 352 #else | 352 #else |
| 353 inline NoHandleAllocation(); | 353 inline NoHandleAllocation(); |
| 354 inline ~NoHandleAllocation(); | 354 inline ~NoHandleAllocation(); |
| 355 private: | 355 private: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 372 private: | 372 private: |
| 373 bool has_been_transformed_; // Tells whether the object has been transformed. | 373 bool has_been_transformed_; // Tells whether the object has been transformed. |
| 374 int unused_property_fields_; // Captures the unused number of field. | 374 int unused_property_fields_; // Captures the unused number of field. |
| 375 Handle<JSObject> object_; // The object being optimized. | 375 Handle<JSObject> object_; // The object being optimized. |
| 376 }; | 376 }; |
| 377 | 377 |
| 378 | 378 |
| 379 } } // namespace v8::internal | 379 } } // namespace v8::internal |
| 380 | 380 |
| 381 #endif // V8_HANDLES_H_ | 381 #endif // V8_HANDLES_H_ |
| OLD | NEW |