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

Side by Side Diff: src/codegen.cc

Issue 50051: Inline the Result::Unuse member function and change the Result... (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 | « no previous file | src/codegen-arm.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-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 13 matching lines...) Expand all
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include "v8.h" 28 #include "v8.h"
29 29
30 #include "bootstrapper.h" 30 #include "bootstrapper.h"
31 #include "codegen-inl.h" 31 #include "codegen-inl.h"
32 #include "debug.h" 32 #include "debug.h"
33 #include "prettyprinter.h" 33 #include "prettyprinter.h"
34 #include "register-allocator-inl.h"
34 #include "runtime.h" 35 #include "runtime.h"
35 #include "scopeinfo.h" 36 #include "scopeinfo.h"
36 #include "stub-cache.h" 37 #include "stub-cache.h"
37 #include "virtual-frame.h"
38 38
39 namespace v8 { namespace internal { 39 namespace v8 { namespace internal {
40 40
41 DeferredCode::DeferredCode(CodeGenerator* generator) 41 DeferredCode::DeferredCode(CodeGenerator* generator)
42 : generator_(generator), 42 : generator_(generator),
43 masm_(generator->masm()), 43 masm_(generator->masm()),
44 enter_(generator), 44 enter_(generator),
45 exit_(generator, JumpTarget::BIDIRECTIONAL), 45 exit_(generator, JumpTarget::BIDIRECTIONAL),
46 statement_position_(masm_->current_statement_position()), 46 statement_position_(masm_->current_statement_position()),
47 position_(masm_->current_position()) { 47 position_(masm_->current_position()) {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { 585 void ArgumentsAccessStub::Generate(MacroAssembler* masm) {
586 switch (type_) { 586 switch (type_) {
587 case READ_LENGTH: GenerateReadLength(masm); break; 587 case READ_LENGTH: GenerateReadLength(masm); break;
588 case READ_ELEMENT: GenerateReadElement(masm); break; 588 case READ_ELEMENT: GenerateReadElement(masm); break;
589 case NEW_OBJECT: GenerateNewObject(masm); break; 589 case NEW_OBJECT: GenerateNewObject(masm); break;
590 } 590 }
591 } 591 }
592 592
593 593
594 } } // namespace v8::internal 594 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698