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

Side by Side Diff: src/assembler.cc

Issue 11411224: Also time external callbacks from generated code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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/assembler.h ('k') | src/ia32/macro-assembler-ia32.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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 } 1049 }
1050 1050
1051 1051
1052 ExternalReference ExternalReference::compute_output_frames_function( 1052 ExternalReference ExternalReference::compute_output_frames_function(
1053 Isolate* isolate) { 1053 Isolate* isolate) {
1054 return ExternalReference( 1054 return ExternalReference(
1055 Redirect(isolate, FUNCTION_ADDR(Deoptimizer::ComputeOutputFrames))); 1055 Redirect(isolate, FUNCTION_ADDR(Deoptimizer::ComputeOutputFrames)));
1056 } 1056 }
1057 1057
1058 1058
1059 ExternalReference ExternalReference::log_enter_external_function(
1060 Isolate* isolate) {
1061 return ExternalReference(
1062 Redirect(isolate, FUNCTION_ADDR(Logger::EnterExternal)));
1063 }
1064
1065
1066 ExternalReference ExternalReference::log_leave_external_function(
1067 Isolate* isolate) {
1068 return ExternalReference(
1069 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal)));
1070 }
1071
1072
1059 ExternalReference ExternalReference::keyed_lookup_cache_keys(Isolate* isolate) { 1073 ExternalReference ExternalReference::keyed_lookup_cache_keys(Isolate* isolate) {
1060 return ExternalReference(isolate->keyed_lookup_cache()->keys_address()); 1074 return ExternalReference(isolate->keyed_lookup_cache()->keys_address());
1061 } 1075 }
1062 1076
1063 1077
1064 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets( 1078 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets(
1065 Isolate* isolate) { 1079 Isolate* isolate) {
1066 return ExternalReference( 1080 return ExternalReference(
1067 isolate->keyed_lookup_cache()->field_offsets_address()); 1081 isolate->keyed_lookup_cache()->field_offsets_address());
1068 } 1082 }
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1549 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1536 state_.written_position = state_.current_position; 1550 state_.written_position = state_.current_position;
1537 written = true; 1551 written = true;
1538 } 1552 }
1539 1553
1540 // Return whether something was written. 1554 // Return whether something was written.
1541 return written; 1555 return written;
1542 } 1556 }
1543 1557
1544 } } // namespace v8::internal 1558 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698