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

Side by Side Diff: src/api.cc

Issue 1303873002: Remove obsolete static methods from V8 class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | src/v8.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/api.h" 5 #include "src/api.h"
6 6
7 #include <string.h> // For memcpy, strlen. 7 #include <string.h> // For memcpy, strlen.
8 #ifdef V8_USE_ADDRESS_SANITIZER 8 #ifdef V8_USE_ADDRESS_SANITIZER
9 #include <sanitizer/asan_interface.h> 9 #include <sanitizer/asan_interface.h>
10 #endif // V8_USE_ADDRESS_SANITIZER 10 #endif // V8_USE_ADDRESS_SANITIZER
(...skipping 5319 matching lines...) Expand 10 before | Expand all | Expand 10 after
5330 } 5330 }
5331 5331
5332 5332
5333 void v8::V8::SetEntropySource(EntropySource entropy_source) { 5333 void v8::V8::SetEntropySource(EntropySource entropy_source) {
5334 base::RandomNumberGenerator::SetEntropySource(entropy_source); 5334 base::RandomNumberGenerator::SetEntropySource(entropy_source);
5335 } 5335 }
5336 5336
5337 5337
5338 void v8::V8::SetReturnAddressLocationResolver( 5338 void v8::V8::SetReturnAddressLocationResolver(
5339 ReturnAddressLocationResolver return_address_resolver) { 5339 ReturnAddressLocationResolver return_address_resolver) {
5340 i::V8::SetReturnAddressLocationResolver(return_address_resolver); 5340 i::StackFrame::SetReturnAddressLocationResolver(return_address_resolver);
5341 } 5341 }
5342 5342
5343 5343
5344 bool v8::V8::Dispose() { 5344 bool v8::V8::Dispose() {
5345 i::V8::TearDown(); 5345 i::V8::TearDown();
5346 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 5346 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
5347 i::DisposeNatives(); 5347 i::DisposeNatives();
5348 #endif 5348 #endif
5349 return true; 5349 return true;
5350 } 5350 }
(...skipping 3057 matching lines...) Expand 10 before | Expand all | Expand 10 after
8408 Address callback_address = 8408 Address callback_address =
8409 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 8409 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
8410 VMState<EXTERNAL> state(isolate); 8410 VMState<EXTERNAL> state(isolate);
8411 ExternalCallbackScope call_scope(isolate, callback_address); 8411 ExternalCallbackScope call_scope(isolate, callback_address);
8412 callback(info); 8412 callback(info);
8413 } 8413 }
8414 8414
8415 8415
8416 } // namespace internal 8416 } // namespace internal
8417 } // namespace v8 8417 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698