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

Side by Side Diff: src/isolate.cc

Issue 140683011: Improve positions tracking inside the HGraphBuilder. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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
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 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after
1558 use_crankshaft_(true), 1558 use_crankshaft_(true),
1559 initialized_from_snapshot_(false), 1559 initialized_from_snapshot_(false),
1560 cpu_profiler_(NULL), 1560 cpu_profiler_(NULL),
1561 heap_profiler_(NULL), 1561 heap_profiler_(NULL),
1562 function_entry_hook_(NULL), 1562 function_entry_hook_(NULL),
1563 deferred_handles_head_(NULL), 1563 deferred_handles_head_(NULL),
1564 optimizing_compiler_thread_(NULL), 1564 optimizing_compiler_thread_(NULL),
1565 sweeper_thread_(NULL), 1565 sweeper_thread_(NULL),
1566 num_sweeper_threads_(0), 1566 num_sweeper_threads_(0),
1567 max_available_threads_(0), 1567 max_available_threads_(0),
1568 stress_deopt_count_(0) { 1568 stress_deopt_count_(0),
1569 next_optimization_id_(0) {
1569 id_ = NoBarrier_AtomicIncrement(&isolate_counter_, 1); 1570 id_ = NoBarrier_AtomicIncrement(&isolate_counter_, 1);
1570 TRACE_ISOLATE(constructor); 1571 TRACE_ISOLATE(constructor);
1571 1572
1572 memset(isolate_addresses_, 0, 1573 memset(isolate_addresses_, 0,
1573 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); 1574 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1));
1574 1575
1575 heap_.isolate_ = this; 1576 heap_.isolate_ = this;
1576 stack_guard_.isolate_ = this; 1577 stack_guard_.isolate_ = this;
1577 1578
1578 // ThreadManager is initialized early to support locking an isolate 1579 // ThreadManager is initialized early to support locking an isolate
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
2309 2310
2310 #ifdef DEBUG 2311 #ifdef DEBUG
2311 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2312 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2312 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2313 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2313 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2314 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2314 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2315 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2315 #undef ISOLATE_FIELD_OFFSET 2316 #undef ISOLATE_FIELD_OFFSET
2316 #endif 2317 #endif
2317 2318
2318 } } // namespace v8::internal 2319 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698