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

Side by Side Diff: src/isolate.cc

Issue 24072013: Hydrogenisation of binops (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix overwrite mode & better result typefeedback Created 7 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
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 2321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 CodeStub::GenerateFPStubs(this); 2332 CodeStub::GenerateFPStubs(this);
2333 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); 2333 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this);
2334 StubFailureTrampolineStub::GenerateAheadOfTime(this); 2334 StubFailureTrampolineStub::GenerateAheadOfTime(this);
2335 // TODO(mstarzinger): The following is an ugly hack to make sure the 2335 // TODO(mstarzinger): The following is an ugly hack to make sure the
2336 // interface descriptor is initialized even when stubs have been 2336 // interface descriptor is initialized even when stubs have been
2337 // deserialized out of the snapshot without the graph builder. 2337 // deserialized out of the snapshot without the graph builder.
2338 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, 2338 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS,
2339 DONT_TRACK_ALLOCATION_SITE, 0); 2339 DONT_TRACK_ALLOCATION_SITE, 0);
2340 stub.InitializeInterfaceDescriptor( 2340 stub.InitializeInterfaceDescriptor(
2341 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); 2341 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
2342 BinaryOpStub binopStub(UNINITIALIZED);
2343 binopStub.InitializeInterfaceDescriptor(
Michael Starzinger 2013/09/27 08:36:11 Let's move this into a static BinaryOpStub::Initia
2344 this, code_stub_interface_descriptor(CodeStub::BinaryOp));
2342 CompareNilICStub::InitializeForIsolate(this); 2345 CompareNilICStub::InitializeForIsolate(this);
2343 ToBooleanStub::InitializeForIsolate(this); 2346 ToBooleanStub::InitializeForIsolate(this);
2344 ArrayConstructorStubBase::InstallDescriptors(this); 2347 ArrayConstructorStubBase::InstallDescriptors(this);
2345 InternalArrayConstructorStubBase::InstallDescriptors(this); 2348 InternalArrayConstructorStubBase::InstallDescriptors(this);
2346 FastNewClosureStub::InstallDescriptors(this); 2349 FastNewClosureStub::InstallDescriptors(this);
2347 } 2350 }
2348 2351
2349 if (FLAG_concurrent_recompilation) optimizing_compiler_thread_.Start(); 2352 if (FLAG_concurrent_recompilation) optimizing_compiler_thread_.Start();
2350 2353
2351 if (FLAG_marking_threads > 0) { 2354 if (FLAG_marking_threads > 0) {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2542 2545
2543 #ifdef DEBUG 2546 #ifdef DEBUG
2544 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2547 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2545 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2548 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2546 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2549 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2547 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2550 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2548 #undef ISOLATE_FIELD_OFFSET 2551 #undef ISOLATE_FIELD_OFFSET
2549 #endif 2552 #endif
2550 2553
2551 } } // namespace v8::internal 2554 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698