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

Side by Side Diff: src/isolate.h

Issue 2416243002: Make unittests work in component build (Closed)
Patch Set: updates Created 4 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
« no previous file with comments | « src/interpreter/interpreter-assembler.h ('k') | src/lookup.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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 1051
1052 void DumpAndResetCompilationStats(); 1052 void DumpAndResetCompilationStats();
1053 1053
1054 FunctionEntryHook function_entry_hook() { return function_entry_hook_; } 1054 FunctionEntryHook function_entry_hook() { return function_entry_hook_; }
1055 void set_function_entry_hook(FunctionEntryHook function_entry_hook) { 1055 void set_function_entry_hook(FunctionEntryHook function_entry_hook) {
1056 function_entry_hook_ = function_entry_hook; 1056 function_entry_hook_ = function_entry_hook;
1057 } 1057 }
1058 1058
1059 void* stress_deopt_count_address() { return &stress_deopt_count_; } 1059 void* stress_deopt_count_address() { return &stress_deopt_count_; }
1060 1060
1061 base::RandomNumberGenerator* random_number_generator(); 1061 V8_EXPORT_PRIVATE base::RandomNumberGenerator* random_number_generator();
1062 1062
1063 // Generates a random number that is non-zero when masked 1063 // Generates a random number that is non-zero when masked
1064 // with the provided mask. 1064 // with the provided mask.
1065 int GenerateIdentityHash(uint32_t mask); 1065 int GenerateIdentityHash(uint32_t mask);
1066 1066
1067 // Given an address occupied by a live code object, return that object. 1067 // Given an address occupied by a live code object, return that object.
1068 Object* FindCodeObject(Address a); 1068 Object* FindCodeObject(Address a);
1069 1069
1070 int NextOptimizationId() { 1070 int NextOptimizationId() {
1071 int id = next_optimization_id_++; 1071 int id = next_optimization_id_++;
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 1682
1683 EmbeddedVector<char, 128> filename_; 1683 EmbeddedVector<char, 128> filename_;
1684 FILE* file_; 1684 FILE* file_;
1685 int scope_depth_; 1685 int scope_depth_;
1686 }; 1686 };
1687 1687
1688 } // namespace internal 1688 } // namespace internal
1689 } // namespace v8 1689 } // namespace v8
1690 1690
1691 #endif // V8_ISOLATE_H_ 1691 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-assembler.h ('k') | src/lookup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698