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

Side by Side Diff: src/mips64/lithium-codegen-mips64.cc

Issue 1301583005: Rename ParserInfo::function() and CompilationInfo::function() to literal(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/parser.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/code-factory.h" 5 #include "src/code-factory.h"
6 #include "src/code-stubs.h" 6 #include "src/code-stubs.h"
7 #include "src/cpu-profiler.h" 7 #include "src/cpu-profiler.h"
8 #include "src/hydrogen-osr.h" 8 #include "src/hydrogen-osr.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 #include "src/ic/stub-cache.h" 10 #include "src/ic/stub-cache.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 97
98 bool LCodeGen::GeneratePrologue() { 98 bool LCodeGen::GeneratePrologue() {
99 DCHECK(is_generating()); 99 DCHECK(is_generating());
100 100
101 if (info()->IsOptimizing()) { 101 if (info()->IsOptimizing()) {
102 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 102 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
103 103
104 #ifdef DEBUG 104 #ifdef DEBUG
105 if (strlen(FLAG_stop_at) > 0 && 105 if (strlen(FLAG_stop_at) > 0 &&
106 info_->function()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) { 106 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
107 __ stop("stop_at"); 107 __ stop("stop_at");
108 } 108 }
109 #endif 109 #endif
110 110
111 // a1: Callee's JS function. 111 // a1: Callee's JS function.
112 // cp: Callee's context. 112 // cp: Callee's context.
113 // fp: Caller's frame pointer. 113 // fp: Caller's frame pointer.
114 // lr: Caller's pc. 114 // lr: Caller's pc.
115 115
116 // Sloppy mode functions and builtins need to replace the receiver with the 116 // Sloppy mode functions and builtins need to replace the receiver with the
(...skipping 6131 matching lines...) Expand 10 before | Expand all | Expand 10 after
6248 __ Push(at, ToRegister(instr->function())); 6248 __ Push(at, ToRegister(instr->function()));
6249 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6249 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6250 RecordSafepoint(Safepoint::kNoLazyDeopt); 6250 RecordSafepoint(Safepoint::kNoLazyDeopt);
6251 } 6251 }
6252 6252
6253 6253
6254 #undef __ 6254 #undef __
6255 6255
6256 } // namespace internal 6256 } // namespace internal
6257 } // namespace v8 6257 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698