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

Side by Side Diff: src/api.cc

Issue 103293006: Remove outdated profiler flags (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove moar stuffs (per review feedback) Created 7 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 | « no previous file | src/arm/full-codegen-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 5300 matching lines...) Expand 10 before | Expand all | Expand 10 after
5311 5311
5312 // Restore the access check info on the global template. 5312 // Restore the access check info on the global template.
5313 if (!global_template.IsEmpty()) { 5313 if (!global_template.IsEmpty()) {
5314 ASSERT(!global_constructor.is_null()); 5314 ASSERT(!global_constructor.is_null());
5315 ASSERT(!proxy_constructor.is_null()); 5315 ASSERT(!proxy_constructor.is_null());
5316 global_constructor->set_access_check_info( 5316 global_constructor->set_access_check_info(
5317 proxy_constructor->access_check_info()); 5317 proxy_constructor->access_check_info());
5318 global_constructor->set_needs_access_check( 5318 global_constructor->set_needs_access_check(
5319 proxy_constructor->needs_access_check()); 5319 proxy_constructor->needs_access_check());
5320 } 5320 }
5321 isolate->runtime_profiler()->Reset();
5322 } 5321 }
5323 // Leave V8. 5322 // Leave V8.
5324 5323
5325 return env; 5324 return env;
5326 } 5325 }
5327 5326
5328 Local<Context> v8::Context::New( 5327 Local<Context> v8::Context::New(
5329 v8::Isolate* external_isolate, 5328 v8::Isolate* external_isolate,
5330 v8::ExtensionConfiguration* extensions, 5329 v8::ExtensionConfiguration* extensions,
5331 v8::Handle<ObjectTemplate> global_template, 5330 v8::Handle<ObjectTemplate> global_template,
(...skipping 2448 matching lines...) Expand 10 before | Expand all | Expand 10 after
7780 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); 7779 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate());
7781 Address callback_address = 7780 Address callback_address =
7782 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 7781 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
7783 VMState<EXTERNAL> state(isolate); 7782 VMState<EXTERNAL> state(isolate);
7784 ExternalCallbackScope call_scope(isolate, callback_address); 7783 ExternalCallbackScope call_scope(isolate, callback_address);
7785 callback(info); 7784 callback(info);
7786 } 7785 }
7787 7786
7788 7787
7789 } } // namespace v8::internal 7788 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698