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

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

Issue 12095035: %X => %_X, %_X => %__X (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase and fix spacing issue Created 7 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 | « no previous file | src/ast.cc » ('j') | src/parser.cc » ('J')
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 3813 matching lines...) Expand 10 before | Expand all | Expand 10 after
3824 3824
3825 __ bind(&bailout); 3825 __ bind(&bailout);
3826 __ LoadRoot(r0, Heap::kUndefinedValueRootIndex); 3826 __ LoadRoot(r0, Heap::kUndefinedValueRootIndex);
3827 __ bind(&done); 3827 __ bind(&done);
3828 context()->Plug(r0); 3828 context()->Plug(r0);
3829 } 3829 }
3830 3830
3831 3831
3832 void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) { 3832 void FullCodeGenerator::VisitCallRuntime(CallRuntime* expr) {
3833 Handle<String> name = expr->name(); 3833 Handle<String> name = expr->name();
3834 if (name->length() > 0 && name->Get(0) == '_') { 3834 if (name->length() > 1 && name->Get(0) == '_' && name->Get(1) == '_') {
3835 Comment cmnt(masm_, "[ InlineRuntimeCall"); 3835 Comment cmnt(masm_, "[ InlineRuntimeCall");
3836 EmitInlineRuntimeCall(expr); 3836 EmitInlineRuntimeCall(expr);
3837 return; 3837 return;
3838 } 3838 }
3839 3839
3840 Comment cmnt(masm_, "[ CallRuntime"); 3840 Comment cmnt(masm_, "[ CallRuntime");
3841 ZoneList<Expression*>* args = expr->arguments(); 3841 ZoneList<Expression*>* args = expr->arguments();
3842 3842
3843 if (expr->is_jsruntime()) { 3843 if (expr->is_jsruntime()) {
3844 // Prepare for calling JS runtime function. 3844 // Prepare for calling JS runtime function.
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
4562 *context_length = 0; 4562 *context_length = 0;
4563 return previous_; 4563 return previous_;
4564 } 4564 }
4565 4565
4566 4566
4567 #undef __ 4567 #undef __
4568 4568
4569 } } // namespace v8::internal 4569 } } // namespace v8::internal
4570 4570
4571 #endif // V8_TARGET_ARCH_ARM 4571 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/ast.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698