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

Side by Side Diff: src/ppc/lithium-codegen-ppc.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/parser.cc ('k') | src/rewriter.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/base/bits.h" 5 #include "src/base/bits.h"
6 #include "src/code-factory.h" 6 #include "src/code-factory.h"
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/cpu-profiler.h" 8 #include "src/cpu-profiler.h"
9 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/ic/ic.h" 10 #include "src/ic/ic.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 99
100 bool LCodeGen::GeneratePrologue() { 100 bool LCodeGen::GeneratePrologue() {
101 DCHECK(is_generating()); 101 DCHECK(is_generating());
102 102
103 if (info()->IsOptimizing()) { 103 if (info()->IsOptimizing()) {
104 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 104 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
105 105
106 #ifdef DEBUG 106 #ifdef DEBUG
107 if (strlen(FLAG_stop_at) > 0 && 107 if (strlen(FLAG_stop_at) > 0 &&
108 info_->function()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) { 108 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
109 __ stop("stop_at"); 109 __ stop("stop_at");
110 } 110 }
111 #endif 111 #endif
112 112
113 // r4: Callee's JS function. 113 // r4: Callee's JS function.
114 // cp: Callee's context. 114 // cp: Callee's context.
115 // pp: Callee's constant pool pointer (if enabled) 115 // pp: Callee's constant pool pointer (if enabled)
116 // fp: Caller's frame pointer. 116 // fp: Caller's frame pointer.
117 // lr: Caller's pc. 117 // lr: Caller's pc.
118 // ip: Our own function entry (required by the prologue) 118 // ip: Our own function entry (required by the prologue)
(...skipping 6205 matching lines...) Expand 10 before | Expand all | Expand 10 after
6324 __ Push(scope_info); 6324 __ Push(scope_info);
6325 __ push(ToRegister(instr->function())); 6325 __ push(ToRegister(instr->function()));
6326 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6326 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6327 RecordSafepoint(Safepoint::kNoLazyDeopt); 6327 RecordSafepoint(Safepoint::kNoLazyDeopt);
6328 } 6328 }
6329 6329
6330 6330
6331 #undef __ 6331 #undef __
6332 } // namespace internal 6332 } // namespace internal
6333 } // namespace v8 6333 } // namespace v8
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698