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

Side by Side Diff: src/hydrogen.cc

Issue 23859002: remove Isolate::Current from most files starting with 'a' (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/full-codegen.cc ('k') | src/mips/codegen-mips.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after
2033 ast_context_(NULL), 2033 ast_context_(NULL),
2034 break_scope_(NULL), 2034 break_scope_(NULL),
2035 inlined_count_(0), 2035 inlined_count_(0),
2036 globals_(10, info->zone()), 2036 globals_(10, info->zone()),
2037 inline_bailout_(false), 2037 inline_bailout_(false),
2038 osr_(new(info->zone()) HOsrBuilder(this)) { 2038 osr_(new(info->zone()) HOsrBuilder(this)) {
2039 // This is not initialized in the initializer list because the 2039 // This is not initialized in the initializer list because the
2040 // constructor for the initial state relies on function_state_ == NULL 2040 // constructor for the initial state relies on function_state_ == NULL
2041 // to know it's the initial state. 2041 // to know it's the initial state.
2042 function_state_= &initial_function_state_; 2042 function_state_= &initial_function_state_;
2043 InitializeAstVisitor(); 2043 InitializeAstVisitor(info->isolate());
2044 } 2044 }
2045 2045
2046 2046
2047 HBasicBlock* HOptimizedGraphBuilder::CreateJoin(HBasicBlock* first, 2047 HBasicBlock* HOptimizedGraphBuilder::CreateJoin(HBasicBlock* first,
2048 HBasicBlock* second, 2048 HBasicBlock* second,
2049 BailoutId join_id) { 2049 BailoutId join_id) {
2050 if (first == NULL) { 2050 if (first == NULL) {
2051 return second; 2051 return second;
2052 } else if (second == NULL) { 2052 } else if (second == NULL) {
2053 return first; 2053 return first;
(...skipping 7685 matching lines...) Expand 10 before | Expand all | Expand 10 after
9739 if (ShouldProduceTraceOutput()) { 9739 if (ShouldProduceTraceOutput()) {
9740 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 9740 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
9741 } 9741 }
9742 9742
9743 #ifdef DEBUG 9743 #ifdef DEBUG
9744 graph_->Verify(false); // No full verify. 9744 graph_->Verify(false); // No full verify.
9745 #endif 9745 #endif
9746 } 9746 }
9747 9747
9748 } } // namespace v8::internal 9748 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/mips/codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698