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

Side by Side Diff: src/isolate.cc

Issue 22562002: Convert FastNewClosureStub into hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Nit fixin Created 7 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/ia32/lithium-ia32.cc ('k') | src/runtime.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 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 2311 matching lines...) Expand 10 before | Expand all | Expand 10 after
2322 // interface descriptor is initialized even when stubs have been 2322 // interface descriptor is initialized even when stubs have been
2323 // deserialized out of the snapshot without the graph builder. 2323 // deserialized out of the snapshot without the graph builder.
2324 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, 2324 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS,
2325 DONT_TRACK_ALLOCATION_SITE, 0); 2325 DONT_TRACK_ALLOCATION_SITE, 0);
2326 stub.InitializeInterfaceDescriptor( 2326 stub.InitializeInterfaceDescriptor(
2327 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); 2327 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
2328 CompareNilICStub::InitializeForIsolate(this); 2328 CompareNilICStub::InitializeForIsolate(this);
2329 ToBooleanStub::InitializeForIsolate(this); 2329 ToBooleanStub::InitializeForIsolate(this);
2330 ArrayConstructorStubBase::InstallDescriptors(this); 2330 ArrayConstructorStubBase::InstallDescriptors(this);
2331 InternalArrayConstructorStubBase::InstallDescriptors(this); 2331 InternalArrayConstructorStubBase::InstallDescriptors(this);
2332 FastNewClosureStub::InstallDescriptors(this);
2332 } 2333 }
2333 2334
2334 if (FLAG_concurrent_recompilation) optimizing_compiler_thread_.Start(); 2335 if (FLAG_concurrent_recompilation) optimizing_compiler_thread_.Start();
2335 2336
2336 if (FLAG_marking_threads > 0) { 2337 if (FLAG_marking_threads > 0) {
2337 marking_thread_ = new MarkingThread*[FLAG_marking_threads]; 2338 marking_thread_ = new MarkingThread*[FLAG_marking_threads];
2338 for (int i = 0; i < FLAG_marking_threads; i++) { 2339 for (int i = 0; i < FLAG_marking_threads; i++) {
2339 marking_thread_[i] = new MarkingThread(this); 2340 marking_thread_[i] = new MarkingThread(this);
2340 marking_thread_[i]->Start(); 2341 marking_thread_[i]->Start();
2341 } 2342 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2527 2528
2528 #ifdef DEBUG 2529 #ifdef DEBUG
2529 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2530 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2530 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2531 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2531 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2532 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2532 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2533 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2533 #undef ISOLATE_FIELD_OFFSET 2534 #undef ISOLATE_FIELD_OFFSET
2534 #endif 2535 #endif
2535 2536
2536 } } // namespace v8::internal 2537 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698