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

Side by Side Diff: src/isolate.cc

Issue 43273004: Allow redirecting disassembly and deoptimization traces into a file. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « src/isolate.h ('k') | src/jsregexp.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 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after
2458 return hstatistics(); 2458 return hstatistics();
2459 } 2459 }
2460 2460
2461 2461
2462 HTracer* Isolate::GetHTracer() { 2462 HTracer* Isolate::GetHTracer() {
2463 if (htracer() == NULL) set_htracer(new HTracer(id())); 2463 if (htracer() == NULL) set_htracer(new HTracer(id()));
2464 return htracer(); 2464 return htracer();
2465 } 2465 }
2466 2466
2467 2467
2468 CodeTracer* Isolate::GetCodeTracer() {
2469 if (code_tracer() == NULL) set_code_tracer(new CodeTracer(id()));
2470 return code_tracer();
2471 }
2472
2473
2468 Map* Isolate::get_initial_js_array_map(ElementsKind kind) { 2474 Map* Isolate::get_initial_js_array_map(ElementsKind kind) {
2469 Context* native_context = context()->native_context(); 2475 Context* native_context = context()->native_context();
2470 Object* maybe_map_array = native_context->js_array_maps(); 2476 Object* maybe_map_array = native_context->js_array_maps();
2471 if (!maybe_map_array->IsUndefined()) { 2477 if (!maybe_map_array->IsUndefined()) {
2472 Object* maybe_transitioned_map = 2478 Object* maybe_transitioned_map =
2473 FixedArray::cast(maybe_map_array)->get(kind); 2479 FixedArray::cast(maybe_map_array)->get(kind);
2474 if (!maybe_transitioned_map->IsUndefined()) { 2480 if (!maybe_transitioned_map->IsUndefined()) {
2475 return Map::cast(maybe_transitioned_map); 2481 return Map::cast(maybe_transitioned_map);
2476 } 2482 }
2477 } 2483 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 2522
2517 #ifdef DEBUG 2523 #ifdef DEBUG
2518 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2524 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2519 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2525 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2520 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2526 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2521 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2527 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2522 #undef ISOLATE_FIELD_OFFSET 2528 #undef ISOLATE_FIELD_OFFSET
2523 #endif 2529 #endif
2524 2530
2525 } } // namespace v8::internal 2531 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698