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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 5699002: RFC: Switch to ast ids (instead of positions) for type feedback. (Closed)
Patch Set: Cleanup Created 10 years 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
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 // Picks out an array index from the hash field. 436 // Picks out an array index from the hash field.
437 // Register use: 437 // Register use:
438 // hash - holds the index's hash. Clobbered. 438 // hash - holds the index's hash. Clobbered.
439 // index - holds the overwritten index on exit. 439 // index - holds the overwritten index on exit.
440 void IndexFromHash(Register hash, Register index); 440 void IndexFromHash(Register hash, Register index);
441 441
442 // --------------------------------------------------------------------------- 442 // ---------------------------------------------------------------------------
443 // Runtime calls 443 // Runtime calls
444 444
445 // Call a code stub. Generate the code if necessary. 445 // Call a code stub. Generate the code if necessary.
446 void CallStub(CodeStub* stub); 446 void CallStub(CodeStub* stub, AstId id = kNoAstId);
447 447
448 // Call a code stub and return the code object called. Try to generate 448 // Call a code stub and return the code object called. Try to generate
449 // the code if necessary. Do not perform a GC but instead return a retry 449 // the code if necessary. Do not perform a GC but instead return a retry
450 // after GC failure. 450 // after GC failure.
451 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); 451 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub);
452 452
453 // Tail call a code stub (jump). Generate the code if necessary. 453 // Tail call a code stub (jump). Generate the code if necessary.
454 void TailCallStub(CodeStub* stub); 454 void TailCallStub(CodeStub* stub);
455 455
456 // Tail call a code stub (jump) and return the code object called. Try to 456 // Tail call a code stub (jump) and return the code object called. Try to
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 } \ 739 } \
740 masm-> 740 masm->
741 #else 741 #else
742 #define ACCESS_MASM(masm) masm-> 742 #define ACCESS_MASM(masm) masm->
743 #endif 743 #endif
744 744
745 745
746 } } // namespace v8::internal 746 } } // namespace v8::internal
747 747
748 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 748 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698