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

Side by Side Diff: src/isolate.cc

Issue 7920006: Fix asserts and GC unsafeness in stub generation, bug=1689. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 3 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/mips/code-stubs-mips.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 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 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 handle_scope_implementer_(NULL), 1401 handle_scope_implementer_(NULL),
1402 unicode_cache_(NULL), 1402 unicode_cache_(NULL),
1403 in_use_list_(0), 1403 in_use_list_(0),
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 fp_stubs_generated_(false),
1411 string_tracker_(NULL), 1412 string_tracker_(NULL),
1412 regexp_stack_(NULL), 1413 regexp_stack_(NULL),
1413 embedder_data_(NULL) { 1414 embedder_data_(NULL) {
1414 TRACE_ISOLATE(constructor); 1415 TRACE_ISOLATE(constructor);
1415 1416
1416 memset(isolate_addresses_, 0, 1417 memset(isolate_addresses_, 0,
1417 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); 1418 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1));
1418 1419
1419 heap_.isolate_ = this; 1420 heap_.isolate_ = this;
1420 zone_.isolate_ = this; 1421 zone_.isolate_ = this;
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 1873
1873 #ifdef DEBUG 1874 #ifdef DEBUG
1874 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 1875 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
1875 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 1876 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
1876 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1877 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1877 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1878 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1878 #undef ISOLATE_FIELD_OFFSET 1879 #undef ISOLATE_FIELD_OFFSET
1879 #endif 1880 #endif
1880 1881
1881 } } // namespace v8::internal 1882 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698