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

Side by Side Diff: src/arm/ic-arm.cc

Issue 6344005: Introduce extra IC state to record additional feedback from IC-s. (Closed)
Patch Set: Last fixes and ports to arm and x64 Created 9 years, 11 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 | « no previous file | src/arm/stub-cache-arm.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 static void GenerateMonomorphicCacheProbe(MacroAssembler* masm, 535 static void GenerateMonomorphicCacheProbe(MacroAssembler* masm,
536 int argc, 536 int argc,
537 Code::Kind kind) { 537 Code::Kind kind) {
538 // ----------- S t a t e ------------- 538 // ----------- S t a t e -------------
539 // -- r1 : receiver 539 // -- r1 : receiver
540 // -- r2 : name 540 // -- r2 : name
541 // ----------------------------------- 541 // -----------------------------------
542 Label number, non_number, non_string, boolean, probe, miss; 542 Label number, non_number, non_string, boolean, probe, miss;
543 543
544 // Probe the stub cache. 544 // Probe the stub cache.
545 Code::Flags flags = 545 Code::Flags flags = Code::ComputeFlags(kind,
546 Code::ComputeFlags(kind, NOT_IN_LOOP, MONOMORPHIC, NORMAL, argc); 546 NOT_IN_LOOP,
547 MONOMORPHIC,
548 Code::kNoExtraICState,
549 NORMAL,
550 argc);
547 StubCache::GenerateProbe(masm, flags, r1, r2, r3, r4, r5); 551 StubCache::GenerateProbe(masm, flags, r1, r2, r3, r4, r5);
548 552
549 // If the stub cache probing failed, the receiver might be a value. 553 // If the stub cache probing failed, the receiver might be a value.
550 // For value objects, we use the map of the prototype objects for 554 // For value objects, we use the map of the prototype objects for
551 // the corresponding JSValue for the cache and that is what we need 555 // the corresponding JSValue for the cache and that is what we need
552 // to probe. 556 // to probe.
553 // 557 //
554 // Check for number. 558 // Check for number.
555 __ tst(r1, Operand(kSmiTagMask)); 559 __ tst(r1, Operand(kSmiTagMask));
556 __ b(eq, &number); 560 __ b(eq, &number);
(...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 2387
2384 2388
2385 void PatchInlinedSmiCode(Address address) { 2389 void PatchInlinedSmiCode(Address address) {
2386 UNIMPLEMENTED(); 2390 UNIMPLEMENTED();
2387 } 2391 }
2388 2392
2389 2393
2390 } } // namespace v8::internal 2394 } } // namespace v8::internal
2391 2395
2392 #endif // V8_TARGET_ARCH_ARM 2396 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698