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 2555243002: [wasm] Fix location for error in asm.js ToNumber conversion (Closed)
Patch Set: Fix gc error by storing callee_pc_address Created 4 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
« no previous file with comments | « src/frames.cc ('k') | src/isolate.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 // 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 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 1064
1065 void* stress_deopt_count_address() { return &stress_deopt_count_; } 1065 void* stress_deopt_count_address() { return &stress_deopt_count_; }
1066 1066
1067 V8_EXPORT_PRIVATE base::RandomNumberGenerator* random_number_generator(); 1067 V8_EXPORT_PRIVATE base::RandomNumberGenerator* random_number_generator();
1068 1068
1069 // Generates a random number that is non-zero when masked 1069 // Generates a random number that is non-zero when masked
1070 // with the provided mask. 1070 // with the provided mask.
1071 int GenerateIdentityHash(uint32_t mask); 1071 int GenerateIdentityHash(uint32_t mask);
1072 1072
1073 // Given an address occupied by a live code object, return that object. 1073 // Given an address occupied by a live code object, return that object.
1074 Object* FindCodeObject(Address a); 1074 Code* FindCodeObject(Address a);
1075 1075
1076 int NextOptimizationId() { 1076 int NextOptimizationId() {
1077 int id = next_optimization_id_++; 1077 int id = next_optimization_id_++;
1078 if (!Smi::IsValid(next_optimization_id_)) { 1078 if (!Smi::IsValid(next_optimization_id_)) {
1079 next_optimization_id_ = 0; 1079 next_optimization_id_ = 0;
1080 } 1080 }
1081 return id; 1081 return id;
1082 } 1082 }
1083 1083
1084 void AddCallCompletedCallback(CallCompletedCallback callback); 1084 void AddCallCompletedCallback(CallCompletedCallback callback);
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 1681
1682 EmbeddedVector<char, 128> filename_; 1682 EmbeddedVector<char, 128> filename_;
1683 FILE* file_; 1683 FILE* file_;
1684 int scope_depth_; 1684 int scope_depth_;
1685 }; 1685 };
1686 1686
1687 } // namespace internal 1687 } // namespace internal
1688 } // namespace v8 1688 } // namespace v8
1689 1689
1690 #endif // V8_ISOLATE_H_ 1690 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698