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

Side by Side Diff: src/isolate.cc

Issue 25494007: Reland "Hydrogenisation of binops" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase 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
« no previous file with comments | « src/ic.cc ('k') | src/log.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 2303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2314 CodeStub::GenerateFPStubs(this); 2314 CodeStub::GenerateFPStubs(this);
2315 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); 2315 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this);
2316 StubFailureTrampolineStub::GenerateAheadOfTime(this); 2316 StubFailureTrampolineStub::GenerateAheadOfTime(this);
2317 // TODO(mstarzinger): The following is an ugly hack to make sure the 2317 // TODO(mstarzinger): The following is an ugly hack to make sure the
2318 // interface descriptor is initialized even when stubs have been 2318 // interface descriptor is initialized even when stubs have been
2319 // deserialized out of the snapshot without the graph builder. 2319 // deserialized out of the snapshot without the graph builder.
2320 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, 2320 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS,
2321 DONT_TRACK_ALLOCATION_SITE, 0); 2321 DONT_TRACK_ALLOCATION_SITE, 0);
2322 stub.InitializeInterfaceDescriptor( 2322 stub.InitializeInterfaceDescriptor(
2323 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); 2323 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray));
2324 BinaryOpStub::InitializeForIsolate(this);
2324 CompareNilICStub::InitializeForIsolate(this); 2325 CompareNilICStub::InitializeForIsolate(this);
2325 ToBooleanStub::InitializeForIsolate(this); 2326 ToBooleanStub::InitializeForIsolate(this);
2326 ArrayConstructorStubBase::InstallDescriptors(this); 2327 ArrayConstructorStubBase::InstallDescriptors(this);
2327 InternalArrayConstructorStubBase::InstallDescriptors(this); 2328 InternalArrayConstructorStubBase::InstallDescriptors(this);
2328 FastNewClosureStub::InstallDescriptors(this); 2329 FastNewClosureStub::InstallDescriptors(this);
2329 } 2330 }
2330 2331
2331 if (FLAG_sweeper_threads > 0) { 2332 if (FLAG_sweeper_threads > 0) {
2332 sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads]; 2333 sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads];
2333 for (int i = 0; i < FLAG_sweeper_threads; i++) { 2334 for (int i = 0; i < FLAG_sweeper_threads; i++) {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2514 2515
2515 #ifdef DEBUG 2516 #ifdef DEBUG
2516 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2517 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2517 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2518 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2518 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2519 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2519 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2520 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2520 #undef ISOLATE_FIELD_OFFSET 2521 #undef ISOLATE_FIELD_OFFSET
2521 #endif 2522 #endif
2522 2523
2523 } } // namespace v8::internal 2524 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698