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

Side by Side Diff: src/isolate.cc

Issue 14576005: Adapt hydrogen-based Array constructor to also support InternalArray and function call (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Adapt to bugfix for 244461 Created 7 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/ia32/code-stubs-ia32.cc ('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 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 2229 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 // TODO(mstarzinger): The following is an ugly hack to make sure the 2240 // TODO(mstarzinger): The following is an ugly hack to make sure the
2241 // interface descriptor is initialized even when stubs have been 2241 // interface descriptor is initialized even when stubs have been
2242 // deserialized out of the snapshot without the graph builder. 2242 // deserialized out of the snapshot without the graph builder.
2243 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, 2243 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS,
2244 DONT_TRACK_ALLOCATION_SITE, 0); 2244 DONT_TRACK_ALLOCATION_SITE, 0);
2245 stub.InitializeInterfaceDescriptor( 2245 stub.InitializeInterfaceDescriptor(
2246 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); 2246 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
2247 CompareNilICStub::InitializeForIsolate(this); 2247 CompareNilICStub::InitializeForIsolate(this);
2248 ToBooleanStub::InitializeForIsolate(this); 2248 ToBooleanStub::InitializeForIsolate(this);
2249 ArrayConstructorStubBase::InstallDescriptors(this); 2249 ArrayConstructorStubBase::InstallDescriptors(this);
2250 InternalArrayConstructorStubBase::InstallDescriptors(this);
2250 } 2251 }
2251 2252
2252 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); 2253 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start();
2253 2254
2254 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { 2255 if (FLAG_parallel_marking && FLAG_marking_threads == 0) {
2255 FLAG_marking_threads = SystemThreadManager:: 2256 FLAG_marking_threads = SystemThreadManager::
2256 NumberOfParallelSystemThreads( 2257 NumberOfParallelSystemThreads(
2257 SystemThreadManager::PARALLEL_MARKING); 2258 SystemThreadManager::PARALLEL_MARKING);
2258 } 2259 }
2259 if (FLAG_marking_threads > 0) { 2260 if (FLAG_marking_threads > 0) {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
2491 2492
2492 #ifdef DEBUG 2493 #ifdef DEBUG
2493 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2494 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2494 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2495 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2495 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2496 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2496 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2497 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2497 #undef ISOLATE_FIELD_OFFSET 2498 #undef ISOLATE_FIELD_OFFSET
2498 #endif 2499 #endif
2499 2500
2500 } } // namespace v8::internal 2501 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698