OLD | NEW |
1 // Copyright 2010 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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 20 matching lines...) Expand all Loading... |
32 #include <stdlib.h> | 32 #include <stdlib.h> |
33 | 33 |
34 #include "v8.h" | 34 #include "v8.h" |
35 | 35 |
36 #include "api.h" | 36 #include "api.h" |
37 #include "codegen.h" | 37 #include "codegen.h" |
38 #include "log.h" | 38 #include "log.h" |
39 #include "isolate.h" | 39 #include "isolate.h" |
40 #include "cctest.h" | 40 #include "cctest.h" |
41 #include "disassembler.h" | 41 #include "disassembler.h" |
42 #include "register-allocator-inl.h" | |
43 #include "vm-state-inl.h" | 42 #include "vm-state-inl.h" |
44 | 43 |
45 using v8::Function; | 44 using v8::Function; |
46 using v8::Local; | 45 using v8::Local; |
47 using v8::Object; | 46 using v8::Object; |
48 using v8::Script; | 47 using v8::Script; |
49 using v8::String; | 48 using v8::String; |
50 using v8::Value; | 49 using v8::Value; |
51 | 50 |
52 using v8::internal::byte; | 51 using v8::internal::byte; |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 CHECK_EQ(0, GetJsEntrySp()); | 408 CHECK_EQ(0, GetJsEntrySp()); |
410 CompileRun("a = 1; b = a + 1;"); | 409 CompileRun("a = 1; b = a + 1;"); |
411 CHECK_EQ(0, GetJsEntrySp()); | 410 CHECK_EQ(0, GetJsEntrySp()); |
412 CompileRun("js_entry_sp();"); | 411 CompileRun("js_entry_sp();"); |
413 CHECK_EQ(0, GetJsEntrySp()); | 412 CHECK_EQ(0, GetJsEntrySp()); |
414 CompileRun("js_entry_sp_level2();"); | 413 CompileRun("js_entry_sp_level2();"); |
415 CHECK_EQ(0, GetJsEntrySp()); | 414 CHECK_EQ(0, GetJsEntrySp()); |
416 } | 415 } |
417 | 416 |
418 #endif // ENABLE_LOGGING_AND_PROFILING | 417 #endif // ENABLE_LOGGING_AND_PROFILING |
OLD | NEW |