Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 24 matching lines...) Expand all Loading... | |
| 35 #include "debug.h" | 35 #include "debug.h" |
| 36 #include "full-codegen.h" | 36 #include "full-codegen.h" |
| 37 #include "parser.h" | 37 #include "parser.h" |
| 38 #include "scopes.h" | 38 #include "scopes.h" |
| 39 #include "stub-cache.h" | 39 #include "stub-cache.h" |
| 40 | 40 |
| 41 namespace v8 { | 41 namespace v8 { |
| 42 namespace internal { | 42 namespace internal { |
| 43 | 43 |
| 44 #define __ ACCESS_MASM(masm_) | 44 #define __ ACCESS_MASM(masm_) |
| 45 | 45 |
|
Mads Ager (chromium)
2011/05/24 13:39:09
I would go the other way and have two spaces on al
| |
| 46 | |
| 47 static unsigned GetPropertyId(Property* property) { | 46 static unsigned GetPropertyId(Property* property) { |
| 48 if (property->is_synthetic()) return AstNode::kNoNumber; | 47 if (property->is_synthetic()) return AstNode::kNoNumber; |
| 49 return property->id(); | 48 return property->id(); |
| 50 } | 49 } |
| 51 | 50 |
| 52 | 51 |
| 53 class JumpPatchSite BASE_EMBEDDED { | 52 class JumpPatchSite BASE_EMBEDDED { |
| 54 public: | 53 public: |
| 55 explicit JumpPatchSite(MacroAssembler* masm) | 54 explicit JumpPatchSite(MacroAssembler* masm) |
| 56 : masm_(masm) { | 55 : masm_(masm) { |
| (...skipping 4238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4295 __ ret(0); | 4294 __ ret(0); |
| 4296 } | 4295 } |
| 4297 | 4296 |
| 4298 | 4297 |
| 4299 #undef __ | 4298 #undef __ |
| 4300 | 4299 |
| 4301 | 4300 |
| 4302 } } // namespace v8::internal | 4301 } } // namespace v8::internal |
| 4303 | 4302 |
| 4304 #endif // V8_TARGET_ARCH_X64 | 4303 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |