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

Side by Side Diff: src/assembler.h

Issue 23480031: Enable preaging of code objects when --optimize-for-size. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add missing ia32 lithium codegen. Created 7 years, 2 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
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 INLINE(void set_target_object(Object* target, 395 INLINE(void set_target_object(Object* target,
396 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); 396 WriteBarrierMode mode = UPDATE_WRITE_BARRIER));
397 INLINE(Address target_runtime_entry(Assembler* origin)); 397 INLINE(Address target_runtime_entry(Assembler* origin));
398 INLINE(void set_target_runtime_entry(Address target, 398 INLINE(void set_target_runtime_entry(Address target,
399 WriteBarrierMode mode = 399 WriteBarrierMode mode =
400 UPDATE_WRITE_BARRIER)); 400 UPDATE_WRITE_BARRIER));
401 INLINE(Cell* target_cell()); 401 INLINE(Cell* target_cell());
402 INLINE(Handle<Cell> target_cell_handle()); 402 INLINE(Handle<Cell> target_cell_handle());
403 INLINE(void set_target_cell(Cell* cell, 403 INLINE(void set_target_cell(Cell* cell,
404 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); 404 WriteBarrierMode mode = UPDATE_WRITE_BARRIER));
405 INLINE(Handle<Object> code_age_stub_handle(Assembler* origin));
405 INLINE(Code* code_age_stub()); 406 INLINE(Code* code_age_stub());
406 INLINE(void set_code_age_stub(Code* stub)); 407 INLINE(void set_code_age_stub(Code* stub));
407 408
408 // Read the address of the word containing the target_address in an 409 // Read the address of the word containing the target_address in an
409 // instruction stream. What this means exactly is architecture-independent. 410 // instruction stream. What this means exactly is architecture-independent.
410 // The only architecture-independent user of this function is the serializer. 411 // The only architecture-independent user of this function is the serializer.
411 // The serializer uses it to find out how many raw bytes of instruction to 412 // The serializer uses it to find out how many raw bytes of instruction to
412 // output before the next target. Architecture-independent code shouldn't 413 // output before the next target. Architecture-independent code shouldn't
413 // dereference the pointer it gets back from this. 414 // dereference the pointer it gets back from this.
414 INLINE(Address target_address_address()); 415 INLINE(Address target_address_address());
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 static ExternalReference fill_heap_number_with_random_function( 722 static ExternalReference fill_heap_number_with_random_function(
722 Isolate* isolate); 723 Isolate* isolate);
723 static ExternalReference random_uint32_function(Isolate* isolate); 724 static ExternalReference random_uint32_function(Isolate* isolate);
724 static ExternalReference transcendental_cache_array_address(Isolate* isolate); 725 static ExternalReference transcendental_cache_array_address(Isolate* isolate);
725 static ExternalReference delete_handle_scope_extensions(Isolate* isolate); 726 static ExternalReference delete_handle_scope_extensions(Isolate* isolate);
726 727
727 static ExternalReference get_date_field_function(Isolate* isolate); 728 static ExternalReference get_date_field_function(Isolate* isolate);
728 static ExternalReference date_cache_stamp(Isolate* isolate); 729 static ExternalReference date_cache_stamp(Isolate* isolate);
729 730
730 static ExternalReference get_make_code_young_function(Isolate* isolate); 731 static ExternalReference get_make_code_young_function(Isolate* isolate);
732 static ExternalReference get_mark_code_as_executed_function(Isolate* isolate);
731 733
732 // Deoptimization support. 734 // Deoptimization support.
733 static ExternalReference new_deoptimizer_function(Isolate* isolate); 735 static ExternalReference new_deoptimizer_function(Isolate* isolate);
734 static ExternalReference compute_output_frames_function(Isolate* isolate); 736 static ExternalReference compute_output_frames_function(Isolate* isolate);
735 737
736 // Log support. 738 // Log support.
737 static ExternalReference log_enter_external_function(Isolate* isolate); 739 static ExternalReference log_enter_external_function(Isolate* isolate);
738 static ExternalReference log_leave_external_function(Isolate* isolate); 740 static ExternalReference log_leave_external_function(Isolate* isolate);
739 741
740 // Static data in the keyed lookup cache. 742 // Static data in the keyed lookup cache.
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 public: 1071 public:
1070 NullCallWrapper() { } 1072 NullCallWrapper() { }
1071 virtual ~NullCallWrapper() { } 1073 virtual ~NullCallWrapper() { }
1072 virtual void BeforeCall(int call_size) const { } 1074 virtual void BeforeCall(int call_size) const { }
1073 virtual void AfterCall() const { } 1075 virtual void AfterCall() const { }
1074 }; 1076 };
1075 1077
1076 } } // namespace v8::internal 1078 } } // namespace v8::internal
1077 1079
1078 #endif // V8_ASSEMBLER_H_ 1080 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.cc » ('j') | src/ia32/full-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698