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

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

Issue 42008: Introduce a BreakTarget subclass of JumpTarget used to represent the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 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-arm.h ('k') | src/codegen-ia32.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 4002 matching lines...) Expand 10 before | Expand all | Expand 10 after
4013 ASSERT((has_cc() && frame_->height() == original_height) || 4013 ASSERT((has_cc() && frame_->height() == original_height) ||
4014 (!has_cc() && frame_->height() == original_height + 1)); 4014 (!has_cc() && frame_->height() == original_height + 1));
4015 } 4015 }
4016 4016
4017 4017
4018 #ifdef DEBUG 4018 #ifdef DEBUG
4019 bool CodeGenerator::HasValidEntryRegisters() { return true; } 4019 bool CodeGenerator::HasValidEntryRegisters() { return true; }
4020 #endif 4020 #endif
4021 4021
4022 4022
4023 bool CodeGenerator::IsActualFunctionReturn(JumpTarget* target) {
4024 return (target == &function_return_ && !function_return_is_shadowed_);
4025 }
4026
4027
4028 #undef __ 4023 #undef __
4029 #define __ masm-> 4024 #define __ masm->
4030 4025
4031 Handle<String> Reference::GetName() { 4026 Handle<String> Reference::GetName() {
4032 ASSERT(type_ == NAMED); 4027 ASSERT(type_ == NAMED);
4033 Property* property = expression_->AsProperty(); 4028 Property* property = expression_->AsProperty();
4034 if (property == NULL) { 4029 if (property == NULL) {
4035 // Global variable reference treated as a named property reference. 4030 // Global variable reference treated as a named property reference.
4036 VariableProxy* proxy = expression_->AsVariableProxy(); 4031 VariableProxy* proxy = expression_->AsVariableProxy();
4037 ASSERT(proxy->AsVariable() != NULL); 4032 ASSERT(proxy->AsVariable() != NULL);
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
5157 __ mov(r2, Operand(0)); 5152 __ mov(r2, Operand(0));
5158 __ GetBuiltinEntry(r3, Builtins::CALL_NON_FUNCTION); 5153 __ GetBuiltinEntry(r3, Builtins::CALL_NON_FUNCTION);
5159 __ Jump(Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)), 5154 __ Jump(Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline)),
5160 RelocInfo::CODE_TARGET); 5155 RelocInfo::CODE_TARGET);
5161 } 5156 }
5162 5157
5163 5158
5164 #undef __ 5159 #undef __
5165 5160
5166 } } // namespace v8::internal 5161 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/codegen-arm.h ('k') | src/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698