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

Side by Side Diff: src/mips/full-codegen-mips.cc

Issue 11759008: Introduce ENABLE_LATIN_1 compile flag (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix FilterASCII Created 7 years, 11 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/mips/code-stubs-mips.cc ('k') | src/mips/lithium-codegen-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 isolate()->factory()->NewFixedArray(function()->handler_count(), TENURED); 140 isolate()->factory()->NewFixedArray(function()->handler_count(), TENURED);
141 profiling_counter_ = isolate()->factory()->NewJSGlobalPropertyCell( 141 profiling_counter_ = isolate()->factory()->NewJSGlobalPropertyCell(
142 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); 142 Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate()));
143 SetFunctionPosition(function()); 143 SetFunctionPosition(function());
144 Comment cmnt(masm_, "[ function compiled by full code generator"); 144 Comment cmnt(masm_, "[ function compiled by full code generator");
145 145
146 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 146 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
147 147
148 #ifdef DEBUG 148 #ifdef DEBUG
149 if (strlen(FLAG_stop_at) > 0 && 149 if (strlen(FLAG_stop_at) > 0 &&
150 info->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) { 150 info->function()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
151 __ stop("stop-at"); 151 __ stop("stop-at");
152 } 152 }
153 #endif 153 #endif
154 154
155 // Strict mode functions and builtins need to replace the receiver 155 // Strict mode functions and builtins need to replace the receiver
156 // with undefined when called as functions (without an explicit 156 // with undefined when called as functions (without an explicit
157 // receiver object). t1 is zero for method calls and non-zero for 157 // receiver object). t1 is zero for method calls and non-zero for
158 // function calls. 158 // function calls.
159 if (!info->is_classic_mode() || info->is_native()) { 159 if (!info->is_classic_mode() || info->is_native()) {
160 Label ok; 160 Label ok;
(...skipping 4415 matching lines...) Expand 10 before | Expand all | Expand 10 after
4576 *context_length = 0; 4576 *context_length = 0;
4577 return previous_; 4577 return previous_;
4578 } 4578 }
4579 4579
4580 4580
4581 #undef __ 4581 #undef __
4582 4582
4583 } } // namespace v8::internal 4583 } } // namespace v8::internal
4584 4584
4585 #endif // V8_TARGET_ARCH_MIPS 4585 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698