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

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

Issue 17576005: Rename Literal::handle to Literal::value (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « src/codegen.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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 VisitInDuplicateContext(expr->else_expression()); 1538 VisitInDuplicateContext(expr->else_expression());
1539 // If control flow falls through Visit, merge it with true case here. 1539 // If control flow falls through Visit, merge it with true case here.
1540 if (!context()->IsTest()) { 1540 if (!context()->IsTest()) {
1541 __ bind(&done); 1541 __ bind(&done);
1542 } 1542 }
1543 } 1543 }
1544 1544
1545 1545
1546 void FullCodeGenerator::VisitLiteral(Literal* expr) { 1546 void FullCodeGenerator::VisitLiteral(Literal* expr) {
1547 Comment cmnt(masm_, "[ Literal"); 1547 Comment cmnt(masm_, "[ Literal");
1548 context()->Plug(expr->handle()); 1548 context()->Plug(expr->value());
1549 } 1549 }
1550 1550
1551 1551
1552 void FullCodeGenerator::VisitFunctionLiteral(FunctionLiteral* expr) { 1552 void FullCodeGenerator::VisitFunctionLiteral(FunctionLiteral* expr) {
1553 Comment cmnt(masm_, "[ FunctionLiteral"); 1553 Comment cmnt(masm_, "[ FunctionLiteral");
1554 1554
1555 // Build the function boilerplate and instantiate it. 1555 // Build the function boilerplate and instantiate it.
1556 Handle<SharedFunctionInfo> function_info = 1556 Handle<SharedFunctionInfo> function_info =
1557 Compiler::BuildFunctionInfo(expr, script()); 1557 Compiler::BuildFunctionInfo(expr, script());
1558 if (function_info.is_null()) { 1558 if (function_info.is_null()) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 } 1608 }
1609 1609
1610 return false; 1610 return false;
1611 } 1611 }
1612 1612
1613 1613
1614 #undef __ 1614 #undef __
1615 1615
1616 1616
1617 } } // namespace v8::internal 1617 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698