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

Side by Side Diff: src/isolate.cc

Issue 7193007: Refix issue 1472. The previous fix worked for the example in the bug (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « src/isolate.h ('k') | src/jsregexp.cc » ('j') | src/jsregexp.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 free_list_(0), 1404 free_list_(0),
1405 preallocated_storage_preallocated_(false), 1405 preallocated_storage_preallocated_(false),
1406 pc_to_code_cache_(NULL), 1406 pc_to_code_cache_(NULL),
1407 write_input_buffer_(NULL), 1407 write_input_buffer_(NULL),
1408 global_handles_(NULL), 1408 global_handles_(NULL),
1409 context_switcher_(NULL), 1409 context_switcher_(NULL),
1410 thread_manager_(NULL), 1410 thread_manager_(NULL),
1411 ast_sentinels_(NULL), 1411 ast_sentinels_(NULL),
1412 string_tracker_(NULL), 1412 string_tracker_(NULL),
1413 regexp_stack_(NULL), 1413 regexp_stack_(NULL),
1414 regexp_expansion_factor_(1),
1414 embedder_data_(NULL) { 1415 embedder_data_(NULL) {
1415 TRACE_ISOLATE(constructor); 1416 TRACE_ISOLATE(constructor);
1416 1417
1417 memset(isolate_addresses_, 0, 1418 memset(isolate_addresses_, 0,
1418 sizeof(isolate_addresses_[0]) * (k_isolate_address_count + 1)); 1419 sizeof(isolate_addresses_[0]) * (k_isolate_address_count + 1));
1419 1420
1420 heap_.isolate_ = this; 1421 heap_.isolate_ = this;
1421 zone_.isolate_ = this; 1422 zone_.isolate_ = this;
1422 stack_guard_.isolate_ = this; 1423 stack_guard_.isolate_ = this;
1423 1424
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 1877
1877 #ifdef DEBUG 1878 #ifdef DEBUG
1878 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 1879 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
1879 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 1880 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
1880 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1881 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1881 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1882 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1882 #undef ISOLATE_FIELD_OFFSET 1883 #undef ISOLATE_FIELD_OFFSET
1883 #endif 1884 #endif
1884 1885
1885 } } // namespace v8::internal 1886 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/jsregexp.cc » ('j') | src/jsregexp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698