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

Side by Side Diff: src/full-codegen.cc

Issue 148223002: Remove CallICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test262 status file Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/full-codegen.h ('k') | src/gdb-jit.h » ('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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 TypeFeedbackInfo::cast(code->type_feedback_info())->set_type_feedback_cells( 438 TypeFeedbackInfo::cast(code->type_feedback_info())->set_type_feedback_cells(
439 *cache); 439 *cache);
440 } 440 }
441 441
442 442
443 void FullCodeGenerator::PrepareForBailout(Expression* node, State state) { 443 void FullCodeGenerator::PrepareForBailout(Expression* node, State state) {
444 PrepareForBailoutForId(node->id(), state); 444 PrepareForBailoutForId(node->id(), state);
445 } 445 }
446 446
447 447
448 void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) { 448 void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode,
449 Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode); 449 TypeFeedbackId id) {
450 CallIC(ic, mode, id); 450 ExtraICState extra_state = LoadIC::ComputeExtraICState(contextual_mode);
451 Handle<Code> ic = LoadIC::initialize_stub(isolate(), extra_state);
452 CallIC(ic, contextual_mode, id);
451 } 453 }
452 454
453 455
454 void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) { 456 void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) {
455 Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode()); 457 Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode());
456 CallIC(ic, mode, id); 458 CallIC(ic, mode, id);
457 } 459 }
458 460
459 461
460 void FullCodeGenerator::RecordJSReturnSite(Call* call) { 462 void FullCodeGenerator::RecordJSReturnSite(Call* call) {
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 } 1741 }
1740 return true; 1742 return true;
1741 } 1743 }
1742 #endif // DEBUG 1744 #endif // DEBUG
1743 1745
1744 1746
1745 #undef __ 1747 #undef __
1746 1748
1747 1749
1748 } } // namespace v8::internal 1750 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/gdb-jit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698