Add additional immediate types to allow us to distinguish the source of a JIT immediate
Created attachment 87085 [details] Patch
Attachment 87085 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:424: Should only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/bytecode/Instruction.h:85: _stubRoutine is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/bytecode/Instruction.h:85: _base is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/bytecode/Instruction.h:85: _chain is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes.cpp:55: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes.cpp:60: string_failureCases3 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:462: Should only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:55: string_failureCases1 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:56: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:61: string_failureCases3 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h:386: Should only a single space after a punctuation in a comment. [whitespace/comments] [5] Total errors found: 11 in 44 files If any of these errors are false positives, please file a bug against check-webkit-style.
Attachment 87085 [details] did not build on qt: Build output: http://queues.webkit.org/results/8266598
Attachment 87085 [details] did not build on win: Build output: http://queues.webkit.org/results/8265591
sigh had another patch in my tree that only partially removed prior to uploading
Created attachment 87088 [details] Patch
Attachment 87088 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h:424: Should only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/jit/JITOpcodes.cpp:55: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes.cpp:60: string_failureCases3 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:462: Should only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:55: string_failureCases1 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:56: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:61: string_failureCases3 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h:386: Should only a single space after a punctuation in a comment. [whitespace/comments] [5] Total errors found: 8 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Attachment 87085 [details] did not build on mac: Build output: http://queues.webkit.org/results/8271386
TrusterImm32 is mentioned in the ChangeLog, but I couldn't find any reference in the patch. This would be a new type? "ones that can be controlled or influenced by code we are compiling" - you mean the patchable immediate values?
Comment on attachment 87088 [details] Patch rs=me I did not verify that the Trusted variants are used in the right places.
> I did not verify that the Trusted variants are used in the right places. It seems to me that all Imm* are renamed to TrustedImm*
> #if !CPU(X86_64) It is a shame we don't have a 64 bit arch checker (except JSValue64, but that would be ugly).
Committed r82130: <http://trac.webkit.org/changeset/82130>