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

Side by Side Diff: src/isolate.cc

Issue 8052029: Pregenerate a RecordWrite stub that we need in the new CallFunctionStub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 2 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/ia32/code-stubs-ia32.cc ('k') | src/objects.h » ('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 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 } 1761 }
1762 1762
1763 #ifdef ENABLE_DEBUGGER_SUPPORT 1763 #ifdef ENABLE_DEBUGGER_SUPPORT
1764 debug_->Setup(create_heap_objects); 1764 debug_->Setup(create_heap_objects);
1765 #endif 1765 #endif
1766 stub_cache_->Initialize(create_heap_objects); 1766 stub_cache_->Initialize(create_heap_objects);
1767 1767
1768 // If we are deserializing, read the state into the now-empty heap. 1768 // If we are deserializing, read the state into the now-empty heap.
1769 if (des != NULL) { 1769 if (des != NULL) {
1770 des->Deserialize(); 1770 des->Deserialize();
1771 stub_cache_->Clear(); 1771 stub_cache_->Initialize(true);
1772 } 1772 }
1773 1773
1774 // Deserializing may put strange things in the root array's copy of the 1774 // Deserializing may put strange things in the root array's copy of the
1775 // stack guard. 1775 // stack guard.
1776 heap_.SetStackLimits(); 1776 heap_.SetStackLimits();
1777 1777
1778 deoptimizer_data_ = new DeoptimizerData; 1778 deoptimizer_data_ = new DeoptimizerData;
1779 runtime_profiler_ = new RuntimeProfiler(this); 1779 runtime_profiler_ = new RuntimeProfiler(this);
1780 runtime_profiler_->Setup(); 1780 runtime_profiler_->Setup();
1781 1781
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1873 1873
1874 #ifdef DEBUG 1874 #ifdef DEBUG
1875 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 1875 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
1876 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 1876 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
1877 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1877 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1878 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1878 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1879 #undef ISOLATE_FIELD_OFFSET 1879 #undef ISOLATE_FIELD_OFFSET
1880 #endif 1880 #endif
1881 1881
1882 } } // namespace v8::internal 1882 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698