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

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

Issue 140943002: Fix logic error in assert in IsUndeclaredGlobal() (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports and addressed comments. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/disassembler.cc ('k') | src/hydrogen.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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 445 }
446 446
447 447
448 void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) { 448 void FullCodeGenerator::CallLoadIC(ContextualMode mode, TypeFeedbackId id) {
449 Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode); 449 Handle<Code> ic = LoadIC::initialize_stub(isolate(), mode);
450 CallIC(ic, mode, id); 450 CallIC(ic, mode, id);
451 } 451 }
452 452
453 453
454 void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) { 454 void FullCodeGenerator::CallStoreIC(ContextualMode mode, TypeFeedbackId id) {
455 Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode(), mode); 455 Handle<Code> ic = StoreIC::initialize_stub(isolate(), strict_mode());
456 CallIC(ic, mode, id); 456 CallIC(ic, mode, id);
457 } 457 }
458 458
459 459
460 void FullCodeGenerator::RecordJSReturnSite(Call* call) { 460 void FullCodeGenerator::RecordJSReturnSite(Call* call) {
461 // We record the offset of the function return so we can rebuild the frame 461 // We record the offset of the function return so we can rebuild the frame
462 // if the function was inlined, i.e., this is the return address in the 462 // if the function was inlined, i.e., this is the return address in the
463 // inlined function's frame. 463 // inlined function's frame.
464 // 464 //
465 // The state is ignored. We defensively set it to TOS_REG, which is the 465 // The state is ignored. We defensively set it to TOS_REG, which is the
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 } 1746 }
1747 return true; 1747 return true;
1748 } 1748 }
1749 #endif // DEBUG 1749 #endif // DEBUG
1750 1750
1751 1751
1752 #undef __ 1752 #undef __
1753 1753
1754 1754
1755 } } // namespace v8::internal 1755 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/disassembler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698