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

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

Issue 1543003: - Fix V8 for FreeBSD & OpenBSD on i386 (32-bit), same ABI as Mac... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 8 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/globals.h ('k') | tools/gyp/v8.gyp » ('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 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 11367 matching lines...) Expand 10 before | Expand all | Expand 10 after
11378 __ bind(&skip); 11378 __ bind(&skip);
11379 11379
11380 ASSERT(StackHandlerConstants::kPCOffset == 3 * kPointerSize); 11380 ASSERT(StackHandlerConstants::kPCOffset == 3 * kPointerSize);
11381 __ ret(0); 11381 __ ret(0);
11382 } 11382 }
11383 11383
11384 11384
11385 // If true, a Handle<T> passed by value is passed and returned by 11385 // If true, a Handle<T> passed by value is passed and returned by
11386 // using the location_ field directly. If false, it is passed and 11386 // using the location_ field directly. If false, it is passed and
11387 // returned as a pointer to a handle. 11387 // returned as a pointer to a handle.
11388 #ifdef USING_MAC_ABI 11388 #ifdef USING_BSD_ABI
11389 static const bool kPassHandlesDirectly = true; 11389 static const bool kPassHandlesDirectly = true;
11390 #else 11390 #else
11391 static const bool kPassHandlesDirectly = false; 11391 static const bool kPassHandlesDirectly = false;
11392 #endif 11392 #endif
11393 11393
11394 11394
11395 void ApiGetterEntryStub::Generate(MacroAssembler* masm) { 11395 void ApiGetterEntryStub::Generate(MacroAssembler* masm) {
11396 Label get_result; 11396 Label get_result;
11397 Label prologue; 11397 Label prologue;
11398 Label promote_scheduled_exception; 11398 Label promote_scheduled_exception;
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
12604 12604
12605 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater) 12605 // Call the runtime; it returns -1 (less), 0 (equal), or 1 (greater)
12606 // tagged as a small integer. 12606 // tagged as a small integer.
12607 __ bind(&runtime); 12607 __ bind(&runtime);
12608 __ TailCallRuntime(Runtime::kStringCompare, 2, 1); 12608 __ TailCallRuntime(Runtime::kStringCompare, 2, 1);
12609 } 12609 }
12610 12610
12611 #undef __ 12611 #undef __
12612 12612
12613 } } // namespace v8::internal 12613 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/globals.h ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698