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

Side by Side Diff: src/globals.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/frames.cc ('k') | src/handles.h » ('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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // (allocated in the young generation if the object size and type 303 // (allocated in the young generation if the object size and type
304 // allows). 304 // allows).
305 enum PretenureFlag { NOT_TENURED, TENURED }; 305 enum PretenureFlag { NOT_TENURED, TENURED };
306 306
307 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; 307 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR };
308 308
309 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; 309 enum Executability { NOT_EXECUTABLE, EXECUTABLE };
310 310
311 enum VisitMode { VISIT_ALL, VISIT_ALL_IN_SCAVENGE, VISIT_ONLY_STRONG }; 311 enum VisitMode { VISIT_ALL, VISIT_ALL_IN_SCAVENGE, VISIT_ONLY_STRONG };
312 312
313 // Flag indicating whether code is built in to the VM (one of the natives
314 // files).
315 enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE };
316
313 317
314 // A CodeDesc describes a buffer holding instructions and relocation 318 // A CodeDesc describes a buffer holding instructions and relocation
315 // information. The instructions start at the beginning of the buffer 319 // information. The instructions start at the beginning of the buffer
316 // and grow forward, the relocation information starts at the end of 320 // and grow forward, the relocation information starts at the end of
317 // the buffer and grows backward. 321 // the buffer and grows backward.
318 // 322 //
319 // |<--------------- buffer_size ---------------->| 323 // |<--------------- buffer_size ---------------->|
320 // |<-- instr_size -->| |<-- reloc_size -->| 324 // |<-- instr_size -->| |<-- reloc_size -->|
321 // +==================+========+==================+ 325 // +==================+========+==================+
322 // | instructions | free | reloc info | 326 // | instructions | free | reloc info |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 386
383 enum CallFunctionFlags { 387 enum CallFunctionFlags {
384 NO_CALL_FUNCTION_FLAGS = 0, 388 NO_CALL_FUNCTION_FLAGS = 0,
385 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject. 389 RECEIVER_MIGHT_BE_VALUE = 1 << 0 // Receiver might not be a JSObject.
386 }; 390 };
387 391
388 392
389 // Type of properties. 393 // Type of properties.
390 // Order of properties is significant. 394 // Order of properties is significant.
391 // Must fit in the BitField PropertyDetails::TypeField. 395 // Must fit in the BitField PropertyDetails::TypeField.
392 // A copy of this is in mirror-delay.js. 396 // A copy of this is in mirror-debugger.js.
393 enum PropertyType { 397 enum PropertyType {
394 NORMAL = 0, // only in slow mode 398 NORMAL = 0, // only in slow mode
395 FIELD = 1, // only in fast mode 399 FIELD = 1, // only in fast mode
396 CONSTANT_FUNCTION = 2, // only in fast mode 400 CONSTANT_FUNCTION = 2, // only in fast mode
397 CALLBACKS = 3, 401 CALLBACKS = 3,
398 INTERCEPTOR = 4, // only in lookup results, not in descriptors. 402 INTERCEPTOR = 4, // only in lookup results, not in descriptors.
399 MAP_TRANSITION = 5, // only in fast mode 403 MAP_TRANSITION = 5, // only in fast mode
400 CONSTANT_TRANSITION = 6, // only in fast mode 404 CONSTANT_TRANSITION = 6, // only in fast mode
401 NULL_DESCRIPTOR = 7, // only in fast mode 405 NULL_DESCRIPTOR = 7, // only in fast mode
402 // All properties before MAP_TRANSITION are real. 406 // All properties before MAP_TRANSITION are real.
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 SSE2 = 26, // x86 610 SSE2 = 26, // x86
607 CMOV = 15, // x86 611 CMOV = 15, // x86
608 RDTSC = 4, // x86 612 RDTSC = 4, // x86
609 CPUID = 10, // x86 613 CPUID = 10, // x86
610 VFP3 = 1, // ARM 614 VFP3 = 1, // ARM
611 SAHF = 0}; // x86 615 SAHF = 0}; // x86
612 616
613 } } // namespace v8::internal 617 } } // namespace v8::internal
614 618
615 #endif // V8_GLOBALS_H_ 619 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698