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

Side by Side Diff: src/d8.h

Issue 365153002: Remove a bunch of Isolate::UncheckedCurrent calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 5 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 | Annotate | Revision Log
« include/v8.h ('K') | « src/counters.cc ('k') | src/d8.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_D8_H_ 5 #ifndef V8_D8_H_
6 #define V8_D8_H_ 6 #define V8_D8_H_
7 7
8 #ifndef V8_SHARED 8 #ifndef V8_SHARED
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/hashmap.h" 10 #include "src/hashmap.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 #ifndef V8_SHARED 262 #ifndef V8_SHARED
263 static Handle<Array> GetCompletions(Isolate* isolate, 263 static Handle<Array> GetCompletions(Isolate* isolate,
264 Handle<String> text, 264 Handle<String> text,
265 Handle<String> full); 265 Handle<String> full);
266 static int* LookupCounter(const char* name); 266 static int* LookupCounter(const char* name);
267 static void* CreateHistogram(const char* name, 267 static void* CreateHistogram(const char* name,
268 int min, 268 int min,
269 int max, 269 int max,
270 size_t buckets); 270 size_t buckets);
271 static void AddHistogramSample(void* histogram, int sample); 271 static void AddHistogramSample(void* histogram, int sample);
272 static void MapCounters(const char* name); 272 static void MapCounters(v8::Isolate* isolate, const char* name);
273 273
274 static Local<Object> DebugMessageDetails(Isolate* isolate, 274 static Local<Object> DebugMessageDetails(Isolate* isolate,
275 Handle<String> message); 275 Handle<String> message);
276 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, 276 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate,
277 Handle<String> command); 277 Handle<String> command);
278 278
279 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); 279 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args);
280 #endif // !V8_SHARED 280 #endif // !V8_SHARED
281 281
282 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); 282 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 static void ExternalArrayWeakCallback(Isolate* isolate, 399 static void ExternalArrayWeakCallback(Isolate* isolate,
400 Persistent<Object>* object, 400 Persistent<Object>* object,
401 uint8_t* data); 401 uint8_t* data);
402 }; 402 };
403 403
404 404
405 } // namespace v8 405 } // namespace v8
406 406
407 407
408 #endif // V8_D8_H_ 408 #endif // V8_D8_H_
OLDNEW
« include/v8.h ('K') | « src/counters.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698