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

Side by Side Diff: src/ia32/codegen-ia32.cc

Issue 1029003: Remove handle scope that caused debug mode assertion failures... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 9208 matching lines...) Expand 10 before | Expand all | Expand 10 after
9219 __ TailCallExternalReference( 9219 __ TailCallExternalReference(
9220 ExternalReference(IC_Utility(IC::kBinaryOp_Patch)), 9220 ExternalReference(IC_Utility(IC::kBinaryOp_Patch)),
9221 6, 9221 6,
9222 1); 9222 1);
9223 9223
9224 // The entry point for the result calculation is assumed to be immediately 9224 // The entry point for the result calculation is assumed to be immediately
9225 // after this sequence. 9225 // after this sequence.
9226 __ bind(&get_result); 9226 __ bind(&get_result);
9227 } 9227 }
9228 9228
9229
9229 Handle<Code> GetBinaryOpStub(int key, BinaryOpIC::TypeInfo type_info) { 9230 Handle<Code> GetBinaryOpStub(int key, BinaryOpIC::TypeInfo type_info) {
9230 GenericBinaryOpStub stub(key, type_info); 9231 GenericBinaryOpStub stub(key, type_info);
9231 HandleScope scope;
9232 return stub.GetCode(); 9232 return stub.GetCode();
9233 } 9233 }
9234 9234
9235 9235
9236 void TranscendentalCacheStub::Generate(MacroAssembler* masm) { 9236 void TranscendentalCacheStub::Generate(MacroAssembler* masm) {
9237 // Input on stack: 9237 // Input on stack:
9238 // esp[4]: argument (should be number). 9238 // esp[4]: argument (should be number).
9239 // esp[0]: return address. 9239 // esp[0]: return address.
9240 // Test that eax is a number. 9240 // Test that eax is a number.
9241 Label runtime_call; 9241 Label runtime_call;
(...skipping 2951 matching lines...) Expand 10 before | Expand all | Expand 10 after
12193 12193
12194 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) 12194 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater)
12195 // tagged as a small integer. 12195 // tagged as a small integer.
12196 __ bind(&runtime); 12196 __ bind(&runtime);
12197 __ TailCallRuntime(Runtime::kStringCompare, 2, 1); 12197 __ TailCallRuntime(Runtime::kStringCompare, 2, 1);
12198 } 12198 }
12199 12199
12200 #undef __ 12200 #undef __
12201 12201
12202 } } // namespace v8::internal 12202 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698