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

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: bool -> enum 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
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/assembler.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 (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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 INLINE(void set_target_object(Object* target, 394 INLINE(void set_target_object(Object* target,
395 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); 395 WriteBarrierMode mode = UPDATE_WRITE_BARRIER));
396 INLINE(Address target_runtime_entry(Assembler* origin)); 396 INLINE(Address target_runtime_entry(Assembler* origin));
397 INLINE(void set_target_runtime_entry(Address target, 397 INLINE(void set_target_runtime_entry(Address target,
398 WriteBarrierMode mode = 398 WriteBarrierMode mode =
399 UPDATE_WRITE_BARRIER)); 399 UPDATE_WRITE_BARRIER));
400 INLINE(Cell* target_cell()); 400 INLINE(Cell* target_cell());
401 INLINE(Handle<Cell> target_cell_handle()); 401 INLINE(Handle<Cell> target_cell_handle());
402 INLINE(void set_target_cell(Cell* cell, 402 INLINE(void set_target_cell(Cell* cell,
403 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); 403 WriteBarrierMode mode = UPDATE_WRITE_BARRIER));
404 INLINE(Handle<Object> code_age_stub_handle(Assembler* origin));
404 INLINE(Code* code_age_stub()); 405 INLINE(Code* code_age_stub());
405 INLINE(void set_code_age_stub(Code* stub)); 406 INLINE(void set_code_age_stub(Code* stub));
406 407
407 // Read the address of the word containing the target_address in an 408 // Read the address of the word containing the target_address in an
408 // instruction stream. What this means exactly is architecture-independent. 409 // instruction stream. What this means exactly is architecture-independent.
409 // The only architecture-independent user of this function is the serializer. 410 // The only architecture-independent user of this function is the serializer.
410 // The serializer uses it to find out how many raw bytes of instruction to 411 // The serializer uses it to find out how many raw bytes of instruction to
411 // output before the next target. Architecture-independent code shouldn't 412 // output before the next target. Architecture-independent code shouldn't
412 // dereference the pointer it gets back from this. 413 // dereference the pointer it gets back from this.
413 INLINE(Address target_address_address()); 414 INLINE(Address target_address_address());
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 static ExternalReference fill_heap_number_with_random_function( 721 static ExternalReference fill_heap_number_with_random_function(
721 Isolate* isolate); 722 Isolate* isolate);
722 static ExternalReference random_uint32_function(Isolate* isolate); 723 static ExternalReference random_uint32_function(Isolate* isolate);
723 static ExternalReference transcendental_cache_array_address(Isolate* isolate); 724 static ExternalReference transcendental_cache_array_address(Isolate* isolate);
724 static ExternalReference delete_handle_scope_extensions(Isolate* isolate); 725 static ExternalReference delete_handle_scope_extensions(Isolate* isolate);
725 726
726 static ExternalReference get_date_field_function(Isolate* isolate); 727 static ExternalReference get_date_field_function(Isolate* isolate);
727 static ExternalReference date_cache_stamp(Isolate* isolate); 728 static ExternalReference date_cache_stamp(Isolate* isolate);
728 729
729 static ExternalReference get_make_code_young_function(Isolate* isolate); 730 static ExternalReference get_make_code_young_function(Isolate* isolate);
731 static ExternalReference get_mark_code_as_executed_function(Isolate* isolate);
730 732
731 // New heap objects tracking support. 733 // New heap objects tracking support.
732 static ExternalReference record_object_allocation_function(Isolate* isolate); 734 static ExternalReference record_object_allocation_function(Isolate* isolate);
733 735
734 // Deoptimization support. 736 // Deoptimization support.
735 static ExternalReference new_deoptimizer_function(Isolate* isolate); 737 static ExternalReference new_deoptimizer_function(Isolate* isolate);
736 static ExternalReference compute_output_frames_function(Isolate* isolate); 738 static ExternalReference compute_output_frames_function(Isolate* isolate);
737 739
738 // Log support. 740 // Log support.
739 static ExternalReference log_enter_external_function(Isolate* isolate); 741 static ExternalReference log_enter_external_function(Isolate* isolate);
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 public: 1074 public:
1073 NullCallWrapper() { } 1075 NullCallWrapper() { }
1074 virtual ~NullCallWrapper() { } 1076 virtual ~NullCallWrapper() { }
1075 virtual void BeforeCall(int call_size) const { } 1077 virtual void BeforeCall(int call_size) const { }
1076 virtual void AfterCall() const { } 1078 virtual void AfterCall() const { }
1077 }; 1079 };
1078 1080
1079 } } // namespace v8::internal 1081 } } // namespace v8::internal
1080 1082
1081 #endif // V8_ASSEMBLER_H_ 1083 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698