Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: src/handles.h

Issue 564035: Remove lazy loading of natives files and the natives cache.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/globals.h ('k') | src/handles.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 Handle<Object> receiver, 323 Handle<Object> receiver,
324 ClearExceptionFlag flag); 324 ClearExceptionFlag flag);
325 325
326 bool CompileLazyInLoop(Handle<JSFunction> function, 326 bool CompileLazyInLoop(Handle<JSFunction> function,
327 Handle<Object> receiver, 327 Handle<Object> receiver,
328 ClearExceptionFlag flag); 328 ClearExceptionFlag flag);
329 329
330 // Returns the lazy compilation stub for argc arguments. 330 // Returns the lazy compilation stub for argc arguments.
331 Handle<Code> ComputeLazyCompile(int argc); 331 Handle<Code> ComputeLazyCompile(int argc);
332 332
333 // These deal with lazily loaded properties.
334 void SetupLazy(Handle<JSObject> obj,
335 int index,
336 Handle<Context> compile_context,
337 Handle<Context> function_context);
338 void LoadLazy(Handle<JSObject> obj, bool* pending_exception);
339
340 class NoHandleAllocation BASE_EMBEDDED { 333 class NoHandleAllocation BASE_EMBEDDED {
341 public: 334 public:
342 #ifndef DEBUG 335 #ifndef DEBUG
343 NoHandleAllocation() {} 336 NoHandleAllocation() {}
344 ~NoHandleAllocation() {} 337 ~NoHandleAllocation() {}
345 #else 338 #else
346 inline NoHandleAllocation(); 339 inline NoHandleAllocation();
347 inline ~NoHandleAllocation(); 340 inline ~NoHandleAllocation();
348 private: 341 private:
349 int extensions_; 342 int extensions_;
(...skipping 15 matching lines...) Expand all
365 private: 358 private:
366 bool has_been_transformed_; // Tells whether the object has been transformed. 359 bool has_been_transformed_; // Tells whether the object has been transformed.
367 int unused_property_fields_; // Captures the unused number of field. 360 int unused_property_fields_; // Captures the unused number of field.
368 Handle<JSObject> object_; // The object being optimized. 361 Handle<JSObject> object_; // The object being optimized.
369 }; 362 };
370 363
371 364
372 } } // namespace v8::internal 365 } } // namespace v8::internal
373 366
374 #endif // V8_HANDLES_H_ 367 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698