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

Side by Side Diff: src/ic/handler-compiler.cc

Issue 877753007: Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: VS201x now happy? Created 5 years, 10 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ic/ic.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ic/call-optimization.h" 7 #include "src/ic/call-optimization.h"
8 #include "src/ic/handler-compiler.h" 8 #include "src/ic/handler-compiler.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 #include "src/ic/ic-inl.h" 10 #include "src/ic/ic-inl.h"
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 case LookupIterator::DATA: { 340 case LookupIterator::DATA: {
341 DCHECK_EQ(DATA, it->property_details().type()); 341 DCHECK_EQ(DATA, it->property_details().type());
342 __ Move(receiver(), reg); 342 __ Move(receiver(), reg);
343 LoadFieldStub stub(isolate(), it->GetFieldIndex()); 343 LoadFieldStub stub(isolate(), it->GetFieldIndex());
344 GenerateTailCall(masm(), stub.GetCode()); 344 GenerateTailCall(masm(), stub.GetCode());
345 break; 345 break;
346 } 346 }
347 case LookupIterator::ACCESSOR: 347 case LookupIterator::ACCESSOR:
348 Handle<ExecutableAccessorInfo> info = 348 Handle<ExecutableAccessorInfo> info =
349 Handle<ExecutableAccessorInfo>::cast(it->GetAccessors()); 349 Handle<ExecutableAccessorInfo>::cast(it->GetAccessors());
350 DCHECK_NE(NULL, info->getter()); 350 DCHECK_NOT_NULL(info->getter());
351 GenerateLoadCallback(reg, info); 351 GenerateLoadCallback(reg, info);
352 } 352 }
353 } 353 }
354 354
355 355
356 Handle<Code> NamedLoadHandlerCompiler::CompileLoadViaGetter( 356 Handle<Code> NamedLoadHandlerCompiler::CompileLoadViaGetter(
357 Handle<Name> name, int accessor_index, int expected_arguments) { 357 Handle<Name> name, int accessor_index, int expected_arguments) {
358 Register holder = Frontend(name); 358 Register holder = Frontend(name);
359 GenerateLoadViaGetter(masm(), type(), receiver(), holder, accessor_index, 359 GenerateLoadViaGetter(masm(), type(), receiver(), holder, accessor_index,
360 expected_arguments, scratch2()); 360 expected_arguments, scratch2());
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 DCHECK(elements_kind == DICTIONARY_ELEMENTS); 493 DCHECK(elements_kind == DICTIONARY_ELEMENTS);
494 cached_stub = LoadDictionaryElementStub(isolate()).GetCode(); 494 cached_stub = LoadDictionaryElementStub(isolate()).GetCode();
495 } 495 }
496 } 496 }
497 497
498 handlers->Add(cached_stub); 498 handlers->Add(cached_stub);
499 } 499 }
500 } 500 }
501 } 501 }
502 } // namespace v8::internal 502 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698