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

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

Issue 151022: X64: Remove temporary compiler and assembler tests, fix typeof x == 'object' test. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 5 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/x64/codegen-x64.cc ('k') | src/x64/macro-assembler-x64.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 JS_ENTRY_HANDLER 60 JS_ENTRY_HANDLER
61 }; 61 };
62 62
63 63
64 // MacroAssembler implements a collection of frequently used macros. 64 // MacroAssembler implements a collection of frequently used macros.
65 class MacroAssembler: public Assembler { 65 class MacroAssembler: public Assembler {
66 public: 66 public:
67 MacroAssembler(void* buffer, int size); 67 MacroAssembler(void* buffer, int size);
68 68
69 // --------------------------------------------------------------------------- 69 // ---------------------------------------------------------------------------
70 // x64 Implementation Support
71
72 // Test the MacroAssembler by constructing and calling a simple JSFunction.
73 // Cannot be done using API because this must be done in the middle of the
74 // bootstrapping process.
75 // TODO(X64): Remove once we can get through the bootstrapping process.
76
77 static void ConstructAndTestJSFunction();
78
79 // ---------------------------------------------------------------------------
80 // GC Support 70 // GC Support
81 71
82 // Set the remembered set bit for [object+offset]. 72 // Set the remembered set bit for [object+offset].
83 // object is the object being stored into, value is the object being stored. 73 // object is the object being stored into, value is the object being stored.
84 // If offset is zero, then the scratch register contains the array index into 74 // If offset is zero, then the scratch register contains the array index into
85 // the elements array represented as a Smi. 75 // the elements array represented as a Smi.
86 // All registers are clobbered by the operation. 76 // All registers are clobbered by the operation.
87 void RecordWrite(Register object, 77 void RecordWrite(Register object,
88 int offset, 78 int offset,
89 Register value, 79 Register value,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 } \ 396 } \
407 masm-> 397 masm->
408 #else 398 #else
409 #define ACCESS_MASM(masm) masm-> 399 #define ACCESS_MASM(masm) masm->
410 #endif 400 #endif
411 401
412 402
413 } } // namespace v8::internal 403 } } // namespace v8::internal
414 404
415 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 405 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698