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

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

Issue 10656018: Separate stub types from property types. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also moving all other bits to the left Created 8 years, 6 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 | « 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 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 // ----------- S t a t e ------------- 389 // ----------- S t a t e -------------
390 // -- r1 : receiver 390 // -- r1 : receiver
391 // -- r2 : name 391 // -- r2 : name
392 // ----------------------------------- 392 // -----------------------------------
393 Label number, non_number, non_string, boolean, probe, miss; 393 Label number, non_number, non_string, boolean, probe, miss;
394 394
395 // Probe the stub cache. 395 // Probe the stub cache.
396 Code::Flags flags = Code::ComputeFlags(kind, 396 Code::Flags flags = Code::ComputeFlags(kind,
397 MONOMORPHIC, 397 MONOMORPHIC,
398 extra_state, 398 extra_state,
399 NORMAL, 399 Code::NORMAL,
400 argc); 400 argc);
401 Isolate::Current()->stub_cache()->GenerateProbe( 401 Isolate::Current()->stub_cache()->GenerateProbe(
402 masm, flags, r1, r2, r3, r4, r5, r6); 402 masm, flags, r1, r2, r3, r4, r5, r6);
403 403
404 // If the stub cache probing failed, the receiver might be a value. 404 // If the stub cache probing failed, the receiver might be a value.
405 // For value objects, we use the map of the prototype objects for 405 // For value objects, we use the map of the prototype objects for
406 // the corresponding JSValue for the cache and that is what we need 406 // the corresponding JSValue for the cache and that is what we need
407 // to probe. 407 // to probe.
408 // 408 //
409 // Check for number. 409 // Check for number.
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 } else { 1755 } else {
1756 ASSERT(Assembler::GetCondition(branch_instr) == ne); 1756 ASSERT(Assembler::GetCondition(branch_instr) == ne);
1757 patcher.EmitCondition(eq); 1757 patcher.EmitCondition(eq);
1758 } 1758 }
1759 } 1759 }
1760 1760
1761 1761
1762 } } // namespace v8::internal 1762 } } // namespace v8::internal
1763 1763
1764 #endif // V8_TARGET_ARCH_ARM 1764 #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